HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StackTrace.h File Reference
#include "UT_API.h"
#include "UT_Signal.h"
#include "UT_Debug.h"
#include <SYS/SYS_Types.h>
#include <stdio.h>
+ Include dependency graph for UT_StackTrace.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_StackTrace
 Helper class to output stack traces from the current execution point. More...
 

Macros

#define TRACE_STACK()   { UT_StackTrace tr; tr.doTraceback(); }
 
#define TRACE_STACK_LIMIT(lm)
 
#define TRACE_STACK_FILE(fp)   { UT_StackTrace tr(fp); tr.doTraceback(); }
 
#define TRACE_STACK_COND(cond)   { UT_StackTrace tr; tr.doCondTraceback(cond); }
 

Functions

UT_API exint UTgetCurrentStackUsage ()
 
UT_API exint UTgetCurrentStackLimit ()
 
UT_API bool UTdetectBadModules (UT_WorkBuffer &message)
 WINDOWS ONLY: Find bad modules and report an error message if found. More...
 

Macro Definition Documentation

#define TRACE_STACK ( )    { UT_StackTrace tr; tr.doTraceback(); }

Definition at line 40 of file UT_StackTrace.h.

#define TRACE_STACK_COND (   cond)    { UT_StackTrace tr; tr.doCondTraceback(cond); }

Definition at line 44 of file UT_StackTrace.h.

#define TRACE_STACK_FILE (   fp)    { UT_StackTrace tr(fp); tr.doTraceback(); }

Definition at line 43 of file UT_StackTrace.h.

#define TRACE_STACK_LIMIT (   lm)
Value:
tr.doTraceback(); }
void setMaxStackLevel(int level)
Definition: UT_StackTrace.h:94
Helper class to output stack traces from the current execution point.
Definition: UT_StackTrace.h:47

Definition at line 41 of file UT_StackTrace.h.

Function Documentation

UT_API bool UTdetectBadModules ( UT_WorkBuffer message)

WINDOWS ONLY: Find bad modules and report an error message if found.

UT_API exint UTgetCurrentStackLimit ( )
UT_API exint UTgetCurrentStackUsage ( )