Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
stacktrace Namespace ReferenceHolds the C-style interface for the stack trace routines. More...
Detailed 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 22 of file StackTrace.h. Function Documentation
Definition at line 628 of file StackTrace.cc. Referenced by displayStackFrame().
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 285 of file StackTrace.cc.
attempts to read symbol information and displays stack trace header Definition at line 696 of file StackTrace.cc.
releases symbol information used during display Definition at line 819 of file StackTrace.cc.
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 Referenced by MotionManager::checkinMotion(), MotionManager::checkoutMotion(), Thread::Condition::displayRecursiveLockWarning(), Thread::join(), MotionManager::processMsg(), MotionManager::removeMotion(), Thread::start(), Thread::testCurrentCancel(), and Thread::Lock::~Lock().
Definition at line 671 of file StackTrace.cc. Referenced by displayStackFrame().
Definition at line 713 of file StackTrace.cc.
dumps stored stack trace to stderr Referenced by MotionManager::motionReport(), MotionManager::RemoveAccess(), Thread::start(), Thread::testCurrentCancel(), and Thread::~Thread().
Definition at line 297 of file StackTrace.cc.
frees a list of StackFrames, such as is returned by recordStackTrace Referenced by Thread::start(), MotionManager::CommandEntry::~CommandEntry(), and Thread::~Thread().
stores information about the caller's stack frame into frame
Definition at line 611 of file StackTrace.cc. Referenced by addr2lineLookup(), PGMImg::fromFile(), Config::loadFile(), operator>>(), and Kodu::Parser::TokenParser::readText().
Definition at line 273 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)
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 Referenced by Thread::start().
stores information about the caller to curFrame into nextFrame
Variable Documentation
Definition at line 284 of file StackTrace.cc. Referenced by allocBacktraceRegion(). |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:26 2016 by Doxygen 1.6.3 |