[Lldb-commits] [lldb] [lldb][Windows] Support OutputDebugString (PR #196395)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Fri May 8 08:49:17 PDT 2026
================
@@ -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:
If we were to run lldb on a Windows 8 machine, I'm not sure if it would crash when starting or when running a code path that uses `WaitForDebugEventEx`.
https://github.com/llvm/llvm-project/pull/196395
More information about the lldb-commits
mailing list