mirror of https://github.com/x64dbg/TitanEngine
prevent thread suspension when HWBP is disabled during callback
This commit is contained in:
parent
ea05d920b7
commit
b4a11cb2df
|
|
@ -724,6 +724,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
|
||||||
GetThreadContext(hActiveThread, &myDBGContext);
|
GetThreadContext(hActiveThread, &myDBGContext);
|
||||||
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
||||||
SetThreadContext(hActiveThread, &myDBGContext);
|
SetThreadContext(hActiveThread, &myDBGContext);
|
||||||
|
synchronizedStep = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -755,6 +756,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
|
||||||
GetThreadContext(hActiveThread, &myDBGContext);
|
GetThreadContext(hActiveThread, &myDBGContext);
|
||||||
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
||||||
SetThreadContext(hActiveThread, &myDBGContext);
|
SetThreadContext(hActiveThread, &myDBGContext);
|
||||||
|
synchronizedStep = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -786,6 +788,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
|
||||||
GetThreadContext(hActiveThread, &myDBGContext);
|
GetThreadContext(hActiveThread, &myDBGContext);
|
||||||
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
||||||
SetThreadContext(hActiveThread, &myDBGContext);
|
SetThreadContext(hActiveThread, &myDBGContext);
|
||||||
|
synchronizedStep = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -817,6 +820,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
|
||||||
GetThreadContext(hActiveThread, &myDBGContext);
|
GetThreadContext(hActiveThread, &myDBGContext);
|
||||||
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
myDBGContext.EFlags &= ~UE_TRAP_FLAG;
|
||||||
SetThreadContext(hActiveThread, &myDBGContext);
|
SetThreadContext(hActiveThread, &myDBGContext);
|
||||||
|
synchronizedStep = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue