DBG: Add new Win10 exception code (#374 related)
This commit is contained in:
parent
c627fd6ecb
commit
4c01875d09
|
|
@ -25,6 +25,7 @@ void ExceptionCodeInit()
|
|||
ExceptionNames.insert(std::make_pair(0x40010007, "DBG_RIPEXCEPTION"));
|
||||
ExceptionNames.insert(std::make_pair(0x40010008, "DBG_CONTROL_BREAK"));
|
||||
ExceptionNames.insert(std::make_pair(0x40010009, "DBG_COMMAND_EXCEPTION"));
|
||||
ExceptionNames.insert(std::make_pair(0x4001000A, "DBG_PRINTEXCEPTIONW_C"));
|
||||
ExceptionNames.insert(std::make_pair(0x406D1388, "MS_VC_EXCEPTION"));
|
||||
ExceptionNames.insert(std::make_pair(0x80000001, "EXCEPTION_GUARD_PAGE"));
|
||||
ExceptionNames.insert(std::make_pair(0x80000002, "EXCEPTION_DATATYPE_MISALIGNMENT"));
|
||||
|
|
|
|||
|
|
@ -94,9 +94,13 @@ LONG CALLBACK CrashDumpVectoredHandler(EXCEPTION_POINTERS* ExceptionInfo)
|
|||
{
|
||||
if(ExceptionInfo)
|
||||
{
|
||||
// Skip DBG_PRINTEXCEPTION_C
|
||||
if(ExceptionInfo->ExceptionRecord->ExceptionCode == DBG_PRINTEXCEPTION_C)
|
||||
// Skip DBG_PRINTEXCEPTION_C and DBG_PRINTEXCEPTIONW_C
|
||||
switch(ExceptionInfo->ExceptionRecord->ExceptionCode)
|
||||
{
|
||||
case DBG_PRINTEXCEPTION_C:
|
||||
case 0x4001000A:
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
||||
CrashDumpCreate(ExceptionInfo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue