DBG: set foreground on cbSystemBreakpoint
This commit is contained in:
parent
1c1f78fb99
commit
5f6060f9df
|
@ -1527,6 +1527,9 @@ static void cbSystemBreakpoint(void* ExceptionData) // TODO: System breakpoint e
|
||||||
{
|
{
|
||||||
hActiveThread = ThreadGetHandle(((DEBUG_EVENT*)GetDebugData())->dwThreadId);
|
hActiveThread = ThreadGetHandle(((DEBUG_EVENT*)GetDebugData())->dwThreadId);
|
||||||
|
|
||||||
|
//Get on top of things
|
||||||
|
SetForegroundWindow(GuiGetWindowHandle());
|
||||||
|
|
||||||
// Update GUI (this should be the first triggered event)
|
// Update GUI (this should be the first triggered event)
|
||||||
duint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
duint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||||
GuiDumpAt(MemFindBaseAddr(cip, 0, true)); //dump somewhere
|
GuiDumpAt(MemFindBaseAddr(cip, 0, true)); //dump somewhere
|
||||||
|
|
Loading…
Reference in New Issue