Implement "debug_minidump" for debugging of minidump upload and generation.

This commit is contained in:
/dev/urandom 2016-08-27 19:22:40 +02:00
parent 6696a57b18
commit bd7faf2b32
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -193,5 +193,19 @@ namespace Components
Command::Execute(command, false);
});
Command::Add("debug_minidump", [](Command::Params)
{
CONTEXT ectx;
EXCEPTION_RECORD erec;
erec.ExceptionAddress = 0x0;
erec.ExceptionCode = EXCEPTION_BREAKPOINT;
EXCEPTION_POINTERS eptr;
eptr.ContextRecord = &ectx;
eptr.ExceptionRecord = &erec;
Exception::ExceptionFilter(&eptr);
});
}
}