mirror of https://github.com/x64dbg/GleeBug
fixed the attach breakpoint callback location
This commit is contained in:
parent
75f968fdf0
commit
7518be864e
|
|
@ -32,10 +32,6 @@ namespace GleeBug
|
||||||
mProcess->permanentDep = true;
|
mProcess->permanentDep = true;
|
||||||
#endif //_WIN64
|
#endif //_WIN64
|
||||||
|
|
||||||
//call the attach callback if appropriate
|
|
||||||
if(mAttachedToProcess && mProcess->dwProcessId == mMainProcess.dwProcessId)
|
|
||||||
cbAttachBreakpoint();
|
|
||||||
|
|
||||||
//call the callback
|
//call the callback
|
||||||
cbSystemBreakpoint();
|
cbSystemBreakpoint();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ namespace GleeBug
|
||||||
mMainProcess.hThread = createProcess.hThread;
|
mMainProcess.hThread = createProcess.hThread;
|
||||||
mMainProcess.dwProcessId = mDebugEvent.dwProcessId;
|
mMainProcess.dwProcessId = mDebugEvent.dwProcessId;
|
||||||
mMainProcess.dwThreadId = mDebugEvent.dwThreadId;
|
mMainProcess.dwThreadId = mDebugEvent.dwThreadId;
|
||||||
|
cbAttachBreakpoint();
|
||||||
}
|
}
|
||||||
|
|
||||||
//process housekeeping
|
//process housekeeping
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue