Open Inventor Reference
|
List of environment variables for tracing: More...
#include <Inventor/SoDebug.h>
Static Public Member Functions | |
static const char * | GetEnv (const char *envVar) |
Returns value of environment variable; faster than getenv() because the environment variables are stored in a dictionary. More... | |
static void | RTPrintf (const char *formatString ...) |
Prints into an internal buffer that is emptied every once in a while. More... | |
static void | NamePtr (const char *name, void *ptr) |
Assign the given pointer a name. More... | |
static const char * | PtrName (void *ptr) |
Return the name of the given pointer (returns "<noName>" if not named previously with NamePtr). More... | |
static void | write (SoNode *node) |
Applies an SoWriteAction to the graph rooted by the given node. More... | |
static void | writeFile (SoNode *node, const char *filename) |
Applies an SoWriteAction to the graph rooted by the given node, writing to given file, or /tmp/debug.iv if filename is NULL. More... | |
static void | writeField (SoField *node) |
Applies an SoWriteAction to the container of the given field. More... | |
static void | printName (SoBase *base) |
Writes the name of the given object to stdout. More... | |
IV_DEBUG_BUFLEN : Number of lines RTPrintf saves up before dumping out. Defaults to 100, set to 1 to get it to dump after every line. IV_DEBUG_SENSORS : will print out info as sensors are triggered/etc IV_DEBUG_CACHES : print out info on cache validity, etc. IV_DEBUG_CACHELIST : print out info on Separator render caches.
|
static |
|
static |
The passed name string isn't copied; if it changes, the name of the pointer changes.
|
static |
Very useful when called from within a debugger!
|
static |
|
static |
Useful when doing the print right away screws up the timing of the thing you're trying to debug.
|
static |
The results go to stdout. Very useful when called from within a debugger!
|
static |
The results go to stdout. Very useful when called from within a debugger!
|
static |