fixed jump
This commit is contained in:
parent
5715c6e2b9
commit
a75a5a0fa3
@ -64,18 +64,20 @@ void create_minidump(struct _EXCEPTION_POINTERS* apExceptionInfo)
|
||||
goto error_handling;
|
||||
}
|
||||
|
||||
_MINIDUMP_EXCEPTION_INFORMATION ExInfo{};
|
||||
ExInfo.ThreadId = ::GetCurrentThreadId();
|
||||
ExInfo.ExceptionPointers = apExceptionInfo;
|
||||
ExInfo.ClientPointers = FALSE;
|
||||
{
|
||||
_MINIDUMP_EXCEPTION_INFORMATION ExInfo{};
|
||||
ExInfo.ThreadId = ::GetCurrentThreadId();
|
||||
ExInfo.ExceptionPointers = apExceptionInfo;
|
||||
ExInfo.ClientPointers = FALSE;
|
||||
|
||||
if(!pDump(GetCurrentProcess(), GetCurrentProcessId(), hDumpFile, MiniDumpNormal, &ExInfo, nullptr, nullptr)) {
|
||||
error = "failed to generate dump file";
|
||||
goto error_handling;
|
||||
if(!pDump(GetCurrentProcess(), GetCurrentProcessId(), hDumpFile, MiniDumpNormal, &ExInfo, nullptr, nullptr)) {
|
||||
error = "failed to generate dump file";
|
||||
goto error_handling;
|
||||
}
|
||||
::CloseHandle(hDumpFile);
|
||||
win_crash_callback(file_path, error, true);
|
||||
return;
|
||||
}
|
||||
::CloseHandle(hDumpFile);
|
||||
win_crash_callback(file_path, error, true);
|
||||
return;
|
||||
|
||||
error_handling:
|
||||
if(hDumpFile) {
|
||||
|
Loading…
Reference in New Issue
Block a user