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 00042 00052 static void initExceptionHandler(LPTOP_LEVEL_EXCEPTION_FILTER filter_func); 00053 00066 static bool checkExceptionHandler(); 00067 00068 static void generateCrashStacks(struct _EXCEPTION_POINTERS *pExceptionInfo = NULL); 00069 static void writeDumpToFile(MINIDUMP_TYPE type, MINIDUMP_EXCEPTION_INFORMATION *ExInfop, const char *filename); 00070 private: 00071 }; 00072 00073 #endif // LL_LLWINDEBUG_H