Enumerations | |
enum | status_t { DBG_UNKNOWN = -1, DBG_NO, DBG_YES } |
Functions | |
string & | getProgramName() |
Called by C++ lib's main wrapper so that the stack trace knows the program's name. More... | |
bool | getTopLevelExceptionHandlerEnabled() |
Returns whether the top-level exception handler is enabled. More... | |
void | interruptIfDebug() |
If running under debugger, will interrupt program and return control to debugger (as if you pressed "interrupt" button). More... | |
void | setProgramName(char *programName) |
Called by C++ lib's main wrapper so that the stack trace knows the program's name. More... | |
void | setTopLevelExceptionHandlerEnabled(bool enabled) |
Sets whether the top-level exception handler is enabled. More... | |
enum status_t |
string & getProgramName | ( | ) |
Called by C++ lib's main wrapper so that the stack trace knows the program's name.
(Taken from argv[0].)
bool getTopLevelExceptionHandlerEnabled | ( | ) |
Returns whether the top-level exception handler is enabled.
void interruptIfDebug | ( | ) |
If running under debugger, will interrupt program and return control to debugger (as if you pressed "interrupt" button).
If not running under debugger, does nothing.
void setProgramName | ( | char * | programName | ) |
Called by C++ lib's main wrapper so that the stack trace knows the program's name.
(Taken from argv[0].)
void setTopLevelExceptionHandlerEnabled | ( | bool | enabled | ) |
Sets whether the top-level exception handler is enabled.