[DAP] Stepping messed up after restart request #2081
Labels
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Describe the bug
Using neovim, debugging itself works all fine, unless I restart the session (using
nvim-dap
extension withrequire('dap').restart()
). When I restart the session, it hits the first breakpoint and kind of detaches(?): i.e. I can click step over and it will just do nothing (although indicating that execution is not stopped at the breakpoint anymore). I have to click "terminate session" twice to see [Process terminated] in the terminal. I tried the same launch.json in vscode and restarting works fineTo Reproduce
Steps to reproduce the behavior:
test.js
And launch config:
dap.restart()
, hit the breakpoint, click Step Over and observe session detaching...Log File
Log from
nvim-dap
, includes: start the session, hitting breakpoint, stepping over, restarting, hitting breakpoint, stepping over, terminating, terminating again.loadedSource
event andstackTrace
commands removed as too lengthyVersion I built
dapDebugServer
from the latest commitAdditional context
Sorry if
nvim-dap
issue, but I use like the most basic configThe text was updated successfully, but these errors were encountered: