DBG: fixed an interface bug (didn't show 'system breakpoint reached' message)
This commit is contained in:
parent
e9141963a0
commit
ac6c518f50
|
|
@ -776,14 +776,16 @@ static void cbExitThread(EXIT_THREAD_DEBUG_INFO* ExitThread)
|
|||
static void cbSystemBreakpoint(void* ExceptionData)
|
||||
{
|
||||
hActiveThread = ThreadGetHandle(((DEBUG_EVENT*)GetDebugData())->dwThreadId);
|
||||
|
||||
uint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||
GuiDumpAt(MemFindBaseAddr(cip, 0, true)); //dump somewhere
|
||||
|
||||
//log message
|
||||
if(bIsAttached)
|
||||
dputs("Attach breakpoint reached!");
|
||||
else
|
||||
dputs("System breakpoint reached!");
|
||||
bSkipExceptions = false; //we are not skipping first-chance exceptions
|
||||
uint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||
GuiDumpAt(MemFindBaseAddr(cip, 0, true)); //dump somewhere
|
||||
|
||||
//plugin callbacks
|
||||
PLUG_CB_SYSTEMBREAKPOINT callbackInfo;
|
||||
|
|
|
|||
Loading…
Reference in New Issue