Closed kujtimiihoxha closed 1 month ago
Is delve
on your $PATH?
Yep, was wondering the same:
I'm sorry but I'm not sure how to help you out here, as it's a configuration problem on your end, it seems.
Yep you are probably right, was wondering if this is something you came across before, I will have to dig more :( . I will close this for now and report back with a fix if I find it.
If you open ~/.local/share/nvim/lazy/nvim-dap/lua/dap/session.lua
and go to line 950 or around there (which is where your log indicates the error is hit), you can try do some poor man's printing with print(vim.inspect(some_variable))
.
When I go in that file onto line 950, it looks like we are likely on different versions of nvim-dap. But I see a Session:handle_body
method, which is interesting, and in which you could e.g. print the body
to perhaps gain some insight about what is going wrong.
You can also try commenting out all the other DAP plugins you're using, to verify they are not conflicting with neotest-golang and/or nvim-dap-go.
Thanks a lot @fredrikaverpil this helps a ton, very new to neovim and lua so this is super helpful, I will report back 👍
I am using
nvim-dap-go
andneotest-golang
ontop of astronvim. I think I am adding all the necessary configuration but for some reason it is not working I tried reading the dap logs but can't figure out what the issue isnvim-dap config
Neotest config