1 #ifndef CARMA_UTIL_BACKTRACE_H
2 #define CARMA_UTIL_BACKTRACE_H
26 bool captured()
const;
27 bool capturedAndValid()
const;
41 bool convertToSymbols );
43 void convertToSymbols( );
58 const char * lineSuffix )
const;
68 const ::std::string & lineSuffix )
const;
77 const char * lineSuffix );
84 const ::std::string & lineSuffix );
86 static void demangleSymbolLineInPlace( ::std::string & line );
88 static ::std::string demangleSymbolLine( const ::std::string & line );
90 static ::std::string demangleSymbolLine(
const char * line );
95 INVALID_CAPTURE_STATE,
104 ::std::vector< void * > numeric_;
105 ::std::vector< ::std::string> symbolic_;
bool captureNoThrow()
Method that captures a backtrace if it can and stores it in this instance.
Backtrace()
Constructor that sets this instance to invalid.
Class to hold a captured call stack backtrace.
::std::string captureAsString()
Capture backtrace for the active call stack as a string.
::std::string formattedAsString() const
Returns a formatted multiline string representation of any valid backtrace stored in this instance...