mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
generate full memory dump on unhandled exception in windows.cpp
This commit is contained in:
parent
70bd2d908f
commit
1d58541c87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user