one-small-step-for-vimkind icon indicating copy to clipboard operation
one-small-step-for-vimkind copied to clipboard

Can't toggle breakpoints after attached

Open andmis opened this issue 3 years ago • 3 comments

If I do the following:

  1. Start nvim my_file.lua
  2. :lua require 'osv'.launch()
  3. Launch another nvim my_file.lua
  4. Set a breakpoint in the second client
  5. :lua require 'dap'.continue() → enter the host/port
  6. :luafile % in the first client

...then execution stops at the breakpoint that I set, as it should. However, if I add or remove breakpoints in the second nvim client, it seems to have no effect. If I change the breakpoints and :luafile % in the first client, then execution stops at exactly the same set of breakpoints that were on when require'dap'.continue was called.

Is this expected?

andmis avatar Apr 22 '22 21:04 andmis

Could try https://github.com/hiberabyss/nvim-dbg, should solved the problem.

hiberabyss avatar Aug 25 '22 08:08 hiberabyss

This looks like a fork of OSV. Is that right? Why not submit your bugfixes to the main project?

andmis avatar Aug 25 '22 13:08 andmis

Did not want to write .t files, and the project seems unmaintained.

hiberabyss avatar Aug 25 '22 14:08 hiberabyss