| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
stacktrace Namespace ReferenceDetailed DescriptionHolds the C-style interface for the stack trace routines.
Typedef Documentation
typedef in case type needs to change on other platforms (i.e. long for 64 bit architectures?)
Definition at line 12 of file StackTrace.h.
Function Documentation
Definition at line 89 of file StackTrace.cc.
stores information about the caller to curFrame into nextFrame
Definition at line 95 of file StackTrace.cc. Referenced by displayCurrentStackTrace(), getCurrentStackFrame(), ProcessID::getID(), recordOverStackTrace(), and recordStackTrace().
stores information about the caller's stack frame into frame
Definition at line 282 of file StackTrace.cc. Referenced by displayCurrentStackTrace(), ProcessID::getID(), recordOverStackTrace(), and recordStackTrace().
frees a list of StackFrames, such as is returned by recordStackTrace
Definition at line 323 of file StackTrace.cc.
preallocates a stack trace of a particular size (doesn't actually perform a stack trace, merely allocates the linked list) this is a good idea if you want to do a stack trace within an exception handler, which might have been triggered by running out of heap Definition at line 333 of file StackTrace.cc.
repeatedly calls unrollStackFrame() until the root frame is reached or limit is hit, skipping the top skip frames pass -1U for limit to request unlimited trace, and 0 to start with the function calling recordStackTrace Definition at line 344 of file StackTrace.cc.
repeatedly calls unrollStackFrame() until the root frame is reached or end of frame list is hit, skipping the top skip frames This is handy for reusing previously allocated frames, returns the unused portion (if return value equals frame, none were used -- implies never cleared skip) Definition at line 378 of file StackTrace.cc.
attempts to read symbol information and displays stack trace header
Definition at line 406 of file StackTrace.cc. Referenced by displayCurrentStackTrace(), and displayStackTrace().
Definition at line 627 of file StackTrace.cc. Referenced by displayCurrentStackTrace(), and displayStackTrace().
releases symbol information used during display
Definition at line 634 of file StackTrace.cc. Referenced by displayCurrentStackTrace(), and displayStackTrace().
dumps current stack trace to stderr, up to limit depth and skipping the top skip frames pass -1U for limit to request unlimited trace, and 0 to start with the function calling recordStackTrace Definition at line 657 of file StackTrace.cc. Referenced by MotionManager::processMsg().
Must be called with the object file containing debugging symbols before symbolic output can be displayed.
Variable Documentation
target string to use when opening symbol files if host architecture can't be detected
Definition at line 41 of file StackTrace.cc.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:24 2006 by Doxygen 1.4.7 |