Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | G_BREAKPOINT() G_STMT_START{ raise (SIGTRAP); }G_STMT_END |
Functions | |
G_BEGIN_DECLS GLIB_AVAILABLE_IN_ALL void | g_on_error_query (const gchar *prg_name) |
GLIB_AVAILABLE_IN_ALL void | g_on_error_stack_trace (const gchar *prg_name) |
#define G_BREAKPOINT | ( | ) | G_STMT_START{ raise (SIGTRAP); }G_STMT_END |
G_BREAKPOINT:
Inserts a breakpoint instruction into the code.
On architectures which support it, this is implemented as a soft interrupt and on other architectures it raises a SIGTRAP
signal.
SIGTRAP
is used rather than abort() to allow breakpoints to be skipped past in a debugger if they are not the desired target of debugging.
Definition at line 69 of file gbacktrace.h.
G_BEGIN_DECLS GLIB_AVAILABLE_IN_ALL void g_on_error_query | ( | const gchar * | prg_name | ) |
GLIB_AVAILABLE_IN_ALL void g_on_error_stack_trace | ( | const gchar * | prg_name | ) |