generate full memory dump on unhandled exception in windows.cpp

This commit is contained in:
Joel Dice 2009-06-11 13:41:13 -06:00
parent 70bd2d908f
commit 1d58541c87

View File

@ -772,7 +772,8 @@ struct MINIDUMP_USER_STREAM_INFORMATION;
struct MINIDUMP_CALLBACK_INFORMATION;
enum MINIDUMP_TYPE {
MiniDumpNormal = 0
MiniDumpNormal = 0,
MiniDumpWithFullMemory = 2
};
typedef BOOL (*MiniDumpWriteDumpType)
@ -812,7 +813,7 @@ dump(LPEXCEPTION_POINTERS e, const char* directory)
(GetCurrentProcess(),
GetCurrentProcessId(),
file,
MiniDumpNormal,
MiniDumpWithFullMemory,
&exception,
0,
0);