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 am trying debugging C/C++ project via the nvim-dap plugin via different launching modes('launch', 'attach' and 'remote') and it is awesome to see that these three modes work perfectly.
An issue is that I need to load a gdb scripts which is not listed in the default commands in remote mode.
I tried to add it to the command list in the source code but it doesn't make sense.
I added the commands to '.gdbinit' file and it can be invoked from gdb command line properly.
What am I missing? I asked in nvim-dap repo and was recommended to seek for help here.
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
-
I am trying debugging C/C++ project via the nvim-dap plugin via different launching modes('launch', 'attach' and 'remote') and it is awesome to see that these three modes work perfectly.
An issue is that I need to load a gdb scripts which is not listed in the default commands in remote mode.
I tried to add it to the command list in the source code but it doesn't make sense.
I added the commands to '.gdbinit' file and it can be invoked from gdb command line properly.
What am I missing? I asked in nvim-dap repo and was recommended to seek for help here.
diff:
.gdbinit
My configuration:
Steps to Reproduce
Beta Was this translation helpful? Give feedback.
All reactions