IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2010, 12:03:59 PM (16 years ago)
Author:
Paul Price
Message:

Add backtrace to abort and assertion output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psThread.c

    r28140 r28307  
    210210        psThreadTask *task = psHashLookup(tasks, job->type); // Task to execute job
    211211        psAssert(task, "Couldn't find thread task %s", job->type);
    212         psAssert(job->args->n == task->nArgs, "invalid number of arguments to %s (%ld supplied, expected %d)", task->type, job->args->n, task->nArgs);
     212        psAssert(job->args->n == task->nArgs,
     213                 "invalid number of arguments to %s (%ld supplied, expected %d)",
     214                 task->type, job->args->n, task->nArgs);
    213215        bool status = task->function(job); // Status of executing task
    214216
Note: See TracChangeset for help on using the changeset viewer.