[Lldb-commits] [lldb] [lldb-dap] Add single thread execution support for step out (PR #200314)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 13:00:58 PDT 2026
kusmour wrote:
> The reason why we never offered a run-mode for `StepOut` was that we knew we ALWAYS implemented this by break and continue. So that was always going to be deadlock prone, and we wanted people who were doing this to tell us explicitly by the settings that this is what they wanted.
@jimingham Thank you for the detailed explanation. It's of great help for me to understand this better.
Currently, `singleThread` won't get turned on without user settings. It is also not the default in lldb-dap. And the VS Code client hasn't implemented the singleThread option in the navigation DAP requests. However, we do have use cases where we want the `singleThread` for step in and step over (next). It's supported from our internal extension. Given the `singleThread` support is already presented in the DAP for these 2 requests, might as well properly support step out on the upstream (which also complies with the DAP).
https://github.com/llvm/llvm-project/pull/200314
More information about the lldb-commits
mailing list