#include <assert.h>
#include <iostream>
#include <iomanip>
Go to the source code of this file.
Defines | |
| #define | DS_DEBUG_OUT cerr |
| stream to output debug information | |
| #define | destructor |
| output word *DESTRUCTOR if DS_TRACE_DESTRUCTOR is defined | |
| #define | dmsg(s) |
| Output message with filename and line number. | |
| #define | dout(s) |
| Output variable value with filename, line number and name of passed variable. | |
| #define | doutx(s) |
| Output variable value as HEX with filename, line number and name of passed variable. | |
| #define | ds_gdb_wait |
| Create infinite loop. Run gdb attach xxxx, then set _ds_gdb_wait=0. | |
| #define | MAX_DEPTH 40 |
Functions | |
| void | __dsBacktrace (std::ostream &os) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stack trace routines Time to time it's usefull to be able to print stack trace form your program. NB! It works only on gcc or compiler with compatible in-line assembler, and only on i86 and SPARC hardware |
|
|
|
1.3-rc2