-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events not fired when using automatic configuration #678
Comments
beneeng
changed the title
Events not Fired when using automatic configuration
Events not fired when using automatic configuration
Aug 4, 2024
You could enable trace logging for nvim-dap ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LSP client configuration
Eclipse.jdt.ls version
unknown
Steps to Reproduce
Having event listeners attached to nvim-dap like this:
The methods
open_base_widgets()
andclose_widgets()
open and close dap widgets.Expected Result
When continuing after hitting a breakpoint or when terminating a session, I'd expect the actions to be executed.
Actual Result
The
event_stopped
method gets triggered - all other methods do not.When debugging using the configuration from Neotest Java, which spawns a Java process using a subprocess and attaches using remote debugging, it works as intended.
It seems to me, that the events do not get transported correctly when using a "launch" configuration.
This might be a problem of the debug adapter, but I'm not able to figure out what the exact problem is. So my first assumption is a problem in the jdtls adapter setup
I did attach dumps of
vim.inspect(require('dap').session())
for the test (all events working) and the normal run configuration.sess_normal.json
sess_test.json
The text was updated successfully, but these errors were encountered: