This is a (so far very much proof-of-concept) plugin remotely control instances of ugdb (an alternative TUI for gdb) via the provided IPC interface.
Vim-ugdb currently supports the following commands:
UGDBBreakpoint
: Set a breakpoint at the current file and line.UGDBSelectInstance
: Manually select the ugdb instance to connect to.UGDBShowFile
: Show the current file at the current line in the ugdb pager.
There are a number of plugin managers for vim, and installation methods differ slightly between them.
For installation using Vundle, add the following to the appropriate place in your .vimrc
:
Plugin 'ftilde/vim-ugdb'
Vim-ugdb is released under the MIT license.