Reputation: 4021
I am starting to get into Go, as it seems like an interesting language for web service development. I have historically created a new Ubuntu Server 14.04 instance for each of my language groups, and have kept the same principle for Go.
I have installed all the usual tools (Syntastic, YCM, NERDTree, ctags, you get the idea) and have got a great writing environment set up with some help from vim-go.
Now, I want to be able to get debugging set up in a similar way, using GDB, and am getting stuck on what the best tooling to use here is.
It seems as if Clewn is a great tool, but as I am using SSH to the development environment, I can't necessarily use gvim.
I basically just need a GDB tie-in to vim (not gvim). I am using vim 7.4 as per apt-get via ubuntu universe, and will be more than happy to build from source if some compatibility has not included.
Upvotes: 2
Views: 1183
Reputation: 1994
You can use dbg.vim.
Once the plugin installed, you can setup your breakpoints and use shortcuts to show value of variable under the cursor, etc.
Upvotes: 1