Prompts the user with [E]xit, [H]alt, show [S]tack trace or [P]roceed. This function is intended to be used for debugging use only. The following example shows how it can be used together with the g_log() functions.
Invokes gdb, which attaches to the current process and shows a stack trace. Called by g_on_error_query() when the "Stack trace" option is selected. You can get the current process's program name with g_get_prgname(), assuming that you have called gtk_init() or gdk_init().
Sets the print handler.
Sets the handler for printing error messages.