[Lldb-commits] [lldb] [lldb-dap] Forward any error from stepping. (PR #142652)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 3 11:16:18 PDT 2025


https://github.com/ashgti approved this pull request.

For these three request handlers, should we also add a sanity check of:

```
  if (!SBDebugger::StateIsStoppedState(process.GetState()))
    return make_error<NotStoppedError>();
```

To the `Run(...)` so we can get a specific error if the process isn't stopped?

In normal debugging flows we shouldn't be in that situation, but our tests may incorrectly try to step when the process isn't stopped.

https://github.com/llvm/llvm-project/pull/142652


More information about the lldb-commits mailing list