================
@@ -312,9 +312,9 @@ void DebuggerThread::DebugLoop() {
// detaching with leaving breakpoint exception event on the queue may
// cause target process to crash so process events as possible since
// target threads are running at this time, there is possibility to
- // have some breakpoint exception between last WaitForDebugEvent and
+ // have some breakpoint exception between last WaitForDebugEventEx
and
// DebugActiveProcessStop but ignore for now.
- while (WaitForDebugEvent(&dbe, 0)) {
+ while (WaitForDebugEventEx(&dbe, 0)) {
----------------
charles-zablit wrote:
While looking at the docs, I've noticed that `WaitForDebugEventEx` is only
available for Windows 10 and up.
Should we try to do feature detection like we did for the ConPTY?
https://github.com/llvm/llvm-project/pull/196395
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits