#include <pcrashhandler.h>
Static Public Member Functions | |
| void | terminate () throw () |
| Terminate handler. | |
| void | unexpected () throw () |
| Unexpected exception handler. | |
| RETSIGTYPE | SEGV_handler (int) throw () |
| SEGV handler. | |
| void | enableDebugDump () throw () |
| Enables dump of crash informations. | |
| void | disableDebugDump () throw () |
| Disables dump of crash informations. | |
| bool | isDebugDumpEnabled () throw () |
| Test if dump of crash infos is enabled. | |
This class provides custom crash-handlers which will be installed by the library, when a program is linked against the P::Classes library.
Definition at line 36 of file pcrashhandler.h.
|
|
Disables dump of crash informations. Disables dumping of crash informations into a file. |
|
|
Enables dump of crash informations. Enables dumping of crash informations into a file. Default values if compiled for debugging is true, otherwise false. |
|
|
Test if dump of crash infos is enabled.
|
|
|
SEGV handler. The SEGV handler will be called when the program receives a Segmentation fault. Depending on settings a backtrace will be dumped on exit. The crash dump is placed into the temp- directory. |
|
|
Terminate handler. The terminate handler will be called when an uncatched exception has been thrown. Depending on settings a backtrace will be dumped on exit. |
|
|
Unexpected exception handler. The unexpected handler will be called when an unexpected exception has been thrown. Depending on settings a backtrace will be dumped on exit. |
1.3.3