Implement "debug_minidump" for debugging of minidump upload and generation.
This commit is contained in:
parent
6696a57b18
commit
bd7faf2b32
@ -193,5 +193,19 @@ namespace Components
|
|||||||
|
|
||||||
Command::Execute(command, false);
|
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);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user