#include <llwindebug.h>
Static Public Member Functions | |
static void | initExceptionHandler (LPTOP_LEVEL_EXCEPTION_FILTER filter_func) |
initialize the llwindebug exception filter callback | |
static bool | checkExceptionHandler () |
check the status of the exception filter. | |
static void | generateCrashStacks (struct _EXCEPTION_POINTERS *pExceptionInfo=NULL) |
static void | writeDumpToFile (MINIDUMP_TYPE type, MINIDUMP_EXCEPTION_INFORMATION *ExInfop, const char *filename) |
Definition at line 38 of file llwindebug.h.
static void LLWinDebug::initExceptionHandler | ( | LPTOP_LEVEL_EXCEPTION_FILTER | filter_func | ) | [static] |
initialize the llwindebug exception filter callback
Hand a windows unhandled exception filter to LLWinDebug This method should only be called to change the exception filter used by llwindebug.
Setting filter_func to NULL will clear any custom filters.
Referenced by WINMAIN().
static bool LLWinDebug::checkExceptionHandler | ( | ) | [static] |
check the status of the exception filter.
Resets unhandled exception filter to the filter specified w/ initExceptionFilter). Returns false if the exception filter was modified.
*NOTE:Mani In the past mozlib has been accused of overriding the exception filter. If the mozlib filter is required, perhaps we can chain calls from our filter to mozlib's.
Referenced by LLAppViewerWin32::initHardwareTest(), LLViewerWindow::LLViewerWindow(), LLAppViewer::mainLoop(), and LLViewerWindow::restoreGL().
static void LLWinDebug::generateCrashStacks | ( | struct _EXCEPTION_POINTERS * | pExceptionInfo = NULL |
) | [static] |
Referenced by LLAppViewer::badNetworkHandler(), and viewer_windows_exception_handler().
static void LLWinDebug::writeDumpToFile | ( | MINIDUMP_TYPE | type, | |
MINIDUMP_EXCEPTION_INFORMATION * | ExInfop, | |||
const char * | filename | |||
) | [static] |