Provides the current stack status for the current thread. Arguments: None Returns: None
| Return Type | Function name | Arguments |
|---|---|---|
| void | StackTrace | (void) |
Declared in file: hzProcess.h
Defined in file : hzProcess.cpp
Function Logic:
Function body:
void StackTrace (void)
{
// Category: Diagnostics
//
// Provides the current stack status for the current thread.
//
// Arguments: None
// Returns: None
hzProcess* phz ; // Current thread
phz = GetThreadInfo() ;
if (!phz)
Fatal("StackTrace. (tid=%u) cannot find it's own thread (no previous call to hzProcess contructor)\n", pthread_self()) ;
phz->StackTrace() ;
}