CppCMS
|
the class that records the stack trace when it is created, More...
#include <booster/booster/backtrace.h>
Public Member Functions | |
backtrace (size_t frames_no=default_stack_size) | |
size_t | stack_size () const |
void * | return_address (unsigned frame_no) const |
void | trace_line (unsigned frame_no, std::ostream &out) const |
std::string | trace_line (unsigned frame_no) const |
std::string | trace () const |
void | trace (std::ostream &out) const |
Static Public Attributes | |
static size_t const | default_stack_size = 32 |
the class that records the stack trace when it is created,
It is a base class for all exceptions that record stack trace
|
inline |
Create stack trace recording at most frames_no stack frames
References booster::stack_trace::trace().
|
inline |
Get the returned address for the stack frame number frame_no
|
inline |
Get the actual number of recorded stack frames
|
inline |
Get full stack trace as a string
References booster::stack_trace::get_symbols().
|
inline |
Print full stack trace to a stream out
References booster::stack_trace::write_symbols().
|
inline |
Print the stack trace frame for the frame frame_no to the stream out
References booster::stack_trace::write_symbols().
|
inline |
Get a readable stack trace frame for the frame frame_no
References booster::stack_trace::get_symbol().
|
static |
The default number of recorded frames