Free Electron
Functions
backtrace.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FE_DL_PUBLIC fe::String feGenerateBacktrace (U32 skip=2)
 Get the program stack. More...
 
FE_DL_PUBLIC void feLogBacktrace (U32 skip=2)
 Dump the program stack. More...
 
FE_DL_PUBLIC void feAttachDebugger (void)
 Start debugger if env FE_SEGV_ATTACH is 1. More...
 
FE_DL_PUBLIC void feRegisterSegvHandler (void)
 Register a built-in handler for SIGSEGV. More...
 

Function Documentation

◆ feAttachDebugger()

FE_DL_PUBLIC void feAttachDebugger ( void  )

Start debugger if env FE_SEGV_ATTACH is 1.

◆ feGenerateBacktrace()

FE_DL_PUBLIC fe::String feGenerateBacktrace ( U32  skip = 2)

Get the program stack.

The default skip of 2 will hide the calls to feSegvHandler and feLogBacktrace.

◆ feLogBacktrace()

FE_DL_PUBLIC void feLogBacktrace ( U32  skip = 2)

Dump the program stack.

◆ feRegisterSegvHandler()

FE_DL_PUBLIC void feRegisterSegvHandler ( void  )

Register a built-in handler for SIGSEGV.

References fe::System::getVerbose().