SGL
Enumerations | Functions
gexceptions Namespace Reference

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...
 

Enumeration Type Documentation

◆ status_t

enum status_t
Enumerator
DBG_UNKNOWN 
DBG_NO 
DBG_YES 

Function Documentation

◆ getProgramName()

string & getProgramName ( )

Called by C++ lib's main wrapper so that the stack trace knows the program's name.

(Taken from argv[0].)

◆ getTopLevelExceptionHandlerEnabled()

bool getTopLevelExceptionHandlerEnabled ( )

Returns whether the top-level exception handler is enabled.

◆ interruptIfDebug()

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.

◆ setProgramName()

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].)

◆ setTopLevelExceptionHandlerEnabled()

void setTopLevelExceptionHandlerEnabled ( bool  enabled)

Sets whether the top-level exception handler is enabled.