FreeRDP-WebConnect WebSockets gateway
1.0.0.167
|
Generic backtrace genrator using BFD. More...
#include <btexception.hpp>
Public Member Functions | |
bfd_tracer (int _maxframes) | |
Constructs a new instance, representing the current stack. | |
~bfd_tracer () | |
Releases all internal resources. | |
const std::string & | trace (int skip) const |
Produces a multi-line human readable stack trace. | |
bfd_tracer (const bfd_tracer &) | |
Copy constructor. |
Generic backtrace genrator using BFD.
This class can create a human readable backtrace.
Definition at line 59 of file btexception.hpp.
tracing::bfd_tracer::bfd_tracer | ( | int | _maxframes | ) |
Constructs a new instance, representing the current stack.
_maxframes | The maximum number of stack frames to capture. |
const std::string& tracing::bfd_tracer::trace | ( | int | skip | ) | const |
Produces a multi-line human readable stack trace.
If the current executable contains debug symbol information the function names and source line numbers are used, otherwise, the stack trace contains only hexadecimal addresses.
skip | Number of frames to skip. |