[Lldb-commits] [lldb] [lldb][test] Speed up ProcessAttach test (PR #201530)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 11:55:14 PDT 2026
jimingham wrote:
That doesn't work either because in the test suite (as opposed to running in the lldb driver) there isn't an async debugger event handling thread started up. So if you are in async mode NO ONE is fetching events. GetState will return lldb.eStateStopped because that was the state of the last event that was fetched (by Process::Attach as part of attaching).
You have to run the event loop manually by using self.dbg.GetListener() and handling the events.
https://github.com/llvm/llvm-project/pull/201530
More information about the lldb-commits
mailing list