[degradation] Dape does not change state to "running" on lldb-vscode
yoav-za opened this issue · comments
Dape does not change state to "running" on lldb-vscode. May be happening on other lldb or gdb based adapters.
Steps for reproduction:
- Configure debugged program:
(setq dape-configs
( ( run-program
modes ( c-mode c-ts-mode c++-mode c++-ts-mode rust-mode rust-ts-mode)
ensure
dape-ensure-command
command
"lldb-vscode"
:type "lldb-vscode"
:cwd "<some_dir_path>"
:program "<bin_path>")))
- Set a breakpoint in code.
- Execute dape with the run-program configuration and wait for the breakpoint to hit.
- Execute dape-continue.
Expected behavior: UI signals that the program is executing, with a status line showing that the program is running and the current line indicator (fringe) is cleared.
Observed behavior: UI does not indicate that the program is executing. Status bar keep showing "stopped/breakpoint" status. Current line indicator is still there. The program is continued, and can be stopped again.
This is a recent degradation (some commit in the past 2 months). I suspect that de359a3 may be related.
Thanks nice find, please get back to me if cb2f164 fixed your issue.
For future reference from the DAP spec:
Please note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. launch or continue.
I can confirm that the fix works.
Thank you very much for the quick response!