You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[release/10.0] Implement out-of-process SetThreadContext support for debugger detach (#119904)
* Implement out-of-process detach support
* Fix build break
* Handle early process termination during detach in out-of-process debugging
* Track active controller ref count for detach through DebuggerController creation and desctruction and DispatchPatchOrSingleStep
* Continuously track active dispatched exceptions and flares sent
* Revert "Continuously track active dispatched exceptions and flares sent"
This reverts commit dd6d28c.
* Revert "Track active controller ref count for detach through DebuggerController creation and desctruction and DispatchPatchOrSingleStep"
This reverts commit 367c638.
* Revert "Fix build break"
This reverts commit 240b372.
* Revert "Implement out-of-process detach support"
This reverts commit d80b6c4.
* Out-of-process detach support for CET
Debugger events are tracked out of process to determine which threads have outstanding SetThreadContextNeeded flares
* Remove unused enum
* Break out of detach if timed out or process exited
* Add ClearSetIP to SetThreadContextNeeded event, Refactor HandleSetThreadContextNeeded for improved readability
* Handle case when out of process setthreadcontext is oped-out but available on the platform
* PR feedback on code comment
---------
Co-authored-by: Tom McDonald <[email protected]>
// If retVal is true, the out-of-proc debugger will update the thread context within this call.
5491
+
// Otherwise we are sending a ClearSetIP request, and in which case the out-of-proc debugger will ignore the SetThreadContextNeeded request and simply clear the PendingSetIP flag
0 commit comments