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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to