Free Electron
|
#include <platform/platform.pmh>
Macros | |
#define | FE_BACKTRACE_GDB (FE_CODEGEN<=FE_DEBUG) |
#define | FE_BATCH_GDB FALSE |
Functions | |
fe::String | feGenerateBacktrace (U32 skip) |
Get the program stack. More... | |
void | feLogBacktrace (U32 skip) |
Dump the program stack. More... | |
void | feAttachDebugger (void) |
Start debugger if env FE_SEGV_ATTACH is 1. More... | |
void | feRegisterSegvHandler (void) |
Register a built-in handler for SIGSEGV. More... | |
void feAttachDebugger | ( | void | ) |
Start debugger if env FE_SEGV_ATTACH is 1.
fe::String feGenerateBacktrace | ( | U32 | skip = 2 | ) |
Get the program stack.
The default skip of 2 will hide the calls to feSegvHandler and feLogBacktrace.
void feLogBacktrace | ( | U32 | skip | ) |
Dump the program stack.
void feRegisterSegvHandler | ( | void | ) |
Register a built-in handler for SIGSEGV.
References fe::System::getVerbose().