You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up a very particular nvim-dap + gdb configuration, and I'm unsure, if what I'm trying to do is even possible:
I have a working dap configuration, using gdb 14.1 for local C programs (compiled and running on the same machine as nvim), which works completely as I would like it to.
The trouble is my black magic probe (a hardware debugger from here: https://black-magic.org/ ). When I run gdb manually, it works exactly as I expect it to, but I don't know how to set it up with nvim-dap. I'd expect this to be a use case for the attach-request, but that seems to only work with "remote" targets, not with "extended-remote" (as the black magic probe requires), at least if I understand the gdb documentation correctly: https://sourceware.org/gdb/current/onlinedocs/gdb#Debugger-Adapter-Protocol
So is this simply impossible (for now, until gdb improves), or am I maybe just holding it wrong?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to set up a very particular nvim-dap + gdb configuration, and I'm unsure, if what I'm trying to do is even possible:
I have a working dap configuration, using gdb 14.1 for local C programs (compiled and running on the same machine as nvim), which works completely as I would like it to.
The trouble is my black magic probe (a hardware debugger from here: https://black-magic.org/ ). When I run gdb manually, it works exactly as I expect it to, but I don't know how to set it up with nvim-dap. I'd expect this to be a use case for the attach-request, but that seems to only work with "remote" targets, not with "extended-remote" (as the black magic probe requires), at least if I understand the gdb documentation correctly: https://sourceware.org/gdb/current/onlinedocs/gdb#Debugger-Adapter-Protocol
So is this simply impossible (for now, until gdb improves), or am I maybe just holding it wrong?
Best Regards
Beta Was this translation helpful? Give feedback.
All reactions