00001 00032 #ifndef LL_LLWINDEBUG_H 00033 #define LL_LLWINDEBUG_H 00034 00035 #include "stdtypes.h" 00036 #include <dbghelp.h> 00037 00038 class LLWinDebug 00039 { 00040 public: 00041 static BOOL setupExceptionHandler(); 00042 00043 static LONG WINAPI handleException(struct _EXCEPTION_POINTERS *pExceptionInfo); 00044 static void writeDumpToFile(MINIDUMP_TYPE type, MINIDUMP_EXCEPTION_INFORMATION *ExInfop, const char *filename); 00045 }; 00046 00047 #endif // LL_LLWINDEBUG_H