When the process is contiuned using an lldb command expression the thread state in VS Code is never informed and will be out of sync with the current state of the process. The new event will fire whenever the process is continued and keeps the debugger in sync with the dap client.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/tools/lldb-vscode/lldb-vscode.cpp | ||
---|---|---|
286–287 | Should we also set g_vsc.focus_tid here if it's invalid? |
Comment Actions
Removing the focus_tid invalidation on the continue event, that was incorrectly setting the focus_tid to 0 for all continue events. Instead allow the existing logic in the SendThreadStoppedEvent to infer the correct focus_tid updates
(if needed).
Should we also set g_vsc.focus_tid here if it's invalid?