Files
llvm-project/lldb/unittests/Process/ProcessTraceTest.cpp
Tom Hewitt 68edb9f3c0 [lldb] Fix trace load hang (#187768)
#179799 removed the `SetPrivateState(eStateStopped)` call in
`ProcessTrace::DidAttach()`. This makes the call to
`WaitForProcessToStop` hang forever, causing the `trace load` command to
hang.

This fix reintroduces the `SetPrivateState` call so a postmortem trace
process will "stop" after being loaded, matching the logic used in
`Process::LoadCore()`.
2026-03-24 13:09:03 -05:00

2.6 KiB