Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsDebug.h File Reference

Collection of debug macro. More...

#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)


Detailed Description


Define Documentation

#define destructor
 

#define dmsg  
 

#define dout  
 

#define doutx  
 

#define DS_DEBUG_OUT   cerr
 

#define ds_gdb_wait
 

#define MAX_DEPTH   40
 

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


Function Documentation

void __dsBacktrace std::ostream &    os [inline]
 


Generated on Mon May 16 18:26:58 2005 for libdms4 by doxygen1.3-rc2