|
FreeRDP-WebConnect WebSockets gateway
1.0.0.167
|
Generic backtrace genrator using Dwarf. More...
#include <btexception.hpp>
Public Member Functions | |
| dwarf_tracer (int _maxframes) | |
| Constructs a new instance, representing the current stack. | |
| ~dwarf_tracer () | |
| Releases all internal resources. | |
| const std::string & | trace (int skip) const |
| Produces a multi-line human readable stack trace. | |
| dwarf_tracer (const dwarf_tracer &) | |
| Copy constructor. | |
| dwarf_tracer & | operator= (const dwarf_tracer &) |
| Assignement operator. | |
Generic backtrace genrator using Dwarf.
This class can create a human readable backtrace.
Definition at line 106 of file btexception.hpp.
| tracing::dwarf_tracer::dwarf_tracer | ( | int | _maxframes | ) |
Constructs a new instance, representing the current stack.
| _maxframes | The maximum number of stack frames to capture. |
| const std::string& tracing::dwarf_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. |