fesa-core
4.2.0
|
#include <StackTrace.h>
Public Member Functions | |
StackTrace (std::size_t skip=0) __attribute__((noinline)) | |
const std::string & | getStackTrace () const |
Helper class to provide a stack trace with meaningful names. In order to get function names in the trace, link with -rdynamic.
|
explicit |
Constructor.
skip | number of frames to remove from the trace |
const std::string & fesa::StackTrace::getStackTrace | ( | ) | const |
Returns a string containing the stack trace, with one frame per line.