llvm-project
9fa681bd - [lldb-dap][test] Don't require both threads to stop at once (#244285)

Commit
10 hours ago
[lldb-dap][test] Don't require both threads to stop at once (#244285) In TestDAP_stopped_events on a loaded machine, It is possible that one thread has not hit the breakpoint in the narrow race window between the other hitting the breakpoint and it being handled. Read the events of one stop at a time, up to the focused thread's event, which lldb-dap sends last with `allThreadsStopped`. If only one thread hit the breakpoint, continue and read the next stop, then check that both threads were reported. Closes #243819
Author
Parents
Loading