gdbvim : Watch in gvim what you debug in gdb. And more.
| script karma
Downloaded by 3431
Comments, bugs, improvements
script versions (upload new version)
|NOTICE: MICROSOFT WINDOWS IS NOT CURRENTLY SUPPORTED BY THIS SCRIPT YET!
I found a very nice plugin called gdbvim. Now I can debug my C / C++ code in VIM with its help. The original copy of the plugin can be found at: vimscript #84. See this link for more information about this plugin.
Unfortunately, I can only set breakpoints with this plugin, but I can't clear the breakpoints set before. So I modified the plugin and made "toggle breakpoints" feature possible. Here is my newly patched code. The new gdbvim.vim requires multvars.vim, which can be found at: vimscript #171.
Any comments or suggestions are welcome.
|Extract files from archive and move the files into your runtime path, for example, "~/.vim". Then run ":helptags ~/.vim/doc". "plugin/gdbvim" is an executable written in Perl. You can create a symbolic link to it in one of your $PATH directories.|
Click on the package to download.
ip used for rating: 22.214.171.124
||This is an Alpha (UNSTABLE) version with some new features added and a few bugs fixed.
* (Major) Dumps the breakpoints out to ".gdbvim_breakpoints" when you quit gdbvim, and re-read all the breakpoints when you launch gdbvim the next time.
* Add "Clear all breakpoints" feature.
* (Minor) Changed the menu layout. Added "Call stacks" and some other useful menu items.
* The previous version may fail to clear some breakpoints under some new version of gdb. Because such gdb may breaks at two or more different addresses in the binary code when you set breakpoint at only one position of the source code.