cswinMinidumpWriter Class Reference
Helper to write minidumps on Win32. More...
#include <csutil/win32/minidump.h>
Public Types | |
typedef void(* | FnCrashMinidumpHandler )(const char *dumpFile) |
Callback that can be provided by the application to further deal with the crash dump file. | |
Static Public Member Functions | |
const char * | WriteMinidump (PMINIDUMP_EXCEPTION_INFORMATION except=0, bool dumpHeap=false) |
Write a dump of the current state of the process. | |
const char * | WriteWrappedMinidump (iObjectRegistry *object_reg=0, PMINIDUMP_EXCEPTION_INFORMATION except=0, bool dumpHeap=false) |
Write a mini dump that is wrapped inside a zip and also contains a textual stack trace and the reporter log file. | |
void | EnableCrashMinidumps (FnCrashMinidumpHandler handler=0) |
Enable the built-in crash handler. | |
void | SetCrashMinidumpObjectReg (iObjectRegistry *object_reg) |
Set the object registry used by the built-in crash handler. | |
void | DisableCrashMinidumps () |
Disable the built-in crash handler. |
Detailed Description
Helper to write minidumps on Win32.
- Remarks:
- This class provides functionality specific to the Win32 platform. To ensure that code using this functionality compiles properly on all other platforms, the use of the class and inclusion of the header file should be surrounded by appropriate `#if defined(CS_PLATFORM_WIN32) ... #endif' statements.
Definition at line 38 of file minidump.h.
Member Typedef Documentation
|
Callback that can be provided by the application to further deal with the crash dump file.
Definition at line 45 of file minidump.h. |
Member Function Documentation
|
Disable the built-in crash handler.
|
|
Enable the built-in crash handler. Sets up an exception handler that creates a dump using WriteWrappedMinidump(). In case a custom handler is provided, it is called. Otherwise, a message box containing the dump file is displayed. |
|
Set the object registry used by the built-in crash handler. It is needed to collect some extra information, notable the reporter log.
|
|
Write a dump of the current state of the process.
|
|
Write a mini dump that is wrapped inside a zip and also contains a textual stack trace and the reporter log file.
|
The documentation for this class was generated from the following file:
- csutil/win32/minidump.h
Generated for Crystal Space by doxygen 1.3.9.1