Closed yyy33 closed 1 year ago
Just lua require'dap'.step_into()
or lua require'dap'.step_over()
instead of lua require'dap'.continue()
and lua require'dap'.step_into()
?
I tried just executing lua require'dap'.step_into()
and nothing happened, don't we need to use lua require'dap'.continue()
to start the dap server?
As a side note, I suggest using the new configuration that is available on the README, it avoids putting the port number everytime.
It looks like the function dap_server()
is starting an embbeded nvim to launch the server which is itself running a neovim instance. It's probably better to use the standard method explained in the README, help doc or here. Let me know if it still doesn't work because it should.
As a side note, I suggest using the new configuration that is available on the README, it avoids putting the port number everytime.
It looks like the function
dap_server()
is starting an embbeded nvim to launch the server which is itself running a neovim instance. It's probably better to use the standard method explained in the README, help doc or here. Let me know if it still doesn't work because it should.
Thanks for the tip, it turns out that the quiet mapping is set to the embedded nvim, I can now debug normally after using the tutorial in the readme
Good, have fun debugging with osv 😄
Hi, I'm trying to debug some plugins I've written, which inevitably use some key mapping and automatic commands, but I can't debug it.For example, here is the file I want to debug, I hit the breakpoint to the third line, when I run
lua require'dap'.continue()
and then runlua require'dap'.step_into()
, I get the message: No stopped threads. Cannot moveThis is my dap config