HDK
|
Helper class to output stack traces from the current execution point. More...
#include <UT_StackTrace.h>
Public Member Functions | |
UT_StackTrace (FILE *output=stderr) | |
void | doTraceback (UTsignalHandlerArg sig_arg, const char *label=0, bool add_markers=false) |
void | doTraceback (const char *label=0, bool add_markers=false) |
void | doCondTraceback (const char *symbol, const char *label=0, bool add_markers=false) |
void | doTracebackIntoBuffer (UT_WorkBuffer &result, UTsignalHandlerArg sig_arg, const char *label=0, bool add_markers=false) |
void | doTracebackIntoBuffer (UT_WorkBuffer &result, const char *label=0, bool add_markers=false) |
bool | getSymbolNameAtAddress (const void *address, UT_WorkBuffer &result) |
void | setShowPC (bool state) |
void | setVerbose (bool state) |
void | setTraceAllThreads (bool state) |
void | setMaxStackLevel (int level) |
Static Public Member Functions | |
static void | enableTraceBacks (bool state) |
static void | enableCondTrace (const char *symbol, bool enable) |
Helper class to output stack traces from the current execution point.
Definition at line 47 of file UT_StackTrace.h.
|
explicit |
void UT_StackTrace::doCondTraceback | ( | const char * | symbol, |
const char * | label = 0 , |
||
bool | add_markers = false |
||
) |
void UT_StackTrace::doTraceback | ( | UTsignalHandlerArg | sig_arg, |
const char * | label = 0 , |
||
bool | add_markers = false |
||
) |
void UT_StackTrace::doTraceback | ( | const char * | label = 0 , |
bool | add_markers = false |
||
) |
void UT_StackTrace::doTracebackIntoBuffer | ( | UT_WorkBuffer & | result, |
UTsignalHandlerArg | sig_arg, | ||
const char * | label = 0 , |
||
bool | add_markers = false |
||
) |
void UT_StackTrace::doTracebackIntoBuffer | ( | UT_WorkBuffer & | result, |
const char * | label = 0 , |
||
bool | add_markers = false |
||
) |
|
static |
|
inlinestatic |
Definition at line 102 of file UT_StackTrace.h.
bool UT_StackTrace::getSymbolNameAtAddress | ( | const void * | address, |
UT_WorkBuffer & | result | ||
) |
Definition at line 94 of file UT_StackTrace.h.
|
inline |
Definition at line 75 of file UT_StackTrace.h.
|
inline |
Definition at line 85 of file UT_StackTrace.h.
|
inline |
Definition at line 79 of file UT_StackTrace.h.