Closed bogdan-nikitin closed 3 months ago
Thanks for the PR but this fix would have the side effect that if you're stepping from any other window with a nofile buffer (like variables window) it would switch the buffer in that window. That's not expected for uselast
.
Now I'm handling the disassembly buffer by checking the Vim variable b:dap_source_buf
Now I'm handling the disassembly buffer by checking the Vim variable
b:dap_source_buf
Thanks
Fix https://github.com/mfussenegger/nvim-dap/issues/956#issuecomment-1584883229
The disassembly buffer is of the "nofile" type, which has not been handled. This leads to the error "cursor position outside the buffer" when more than two panes opened.
This error can be reproduced using this Dockerfile:
:DapContinue
:DapStepInto
few times