sponsor Vim development Vim logo Vim Book Ad

vdb.vim : Vim becomes an integrated debugger for any language with a text based debugger

 script karma  Rating 57/22, Downloaded by 3073  Comments, bugs, improvements  Vim wiki

created by
James Dominy
 
script type
utility
 
description
VDB will eventually provide a generic interface to any text based, line oriented, debugger, such as gdb, or pdb. Right now it only works with gdb, but eventually, it is intended to be made extensible by use of "interface configuration files" [potentially in XML, but that's probably overkill] specifying what the debugger of choice considers the commands for various actions to be. It only works on operating systems that support pty's, i.e. not windows. Currently users are able to step over/into a particular line of code, execute until the current cursor line is reached, set watches on expressions, view the output of their programs in a vim buffer, and interactively enter data into the same buffer when their program requires input. More powerful actions can be performed by using the debug console, which gives you direct access to the back-end debugger process. Type commands in here, and see their results both in text, and reflected in the various status displays within vim. You will need vim version 7.0 or higher. Actually it might work on lower versions, I haven't tested yet. For more info check out the README file that's bundled in the package.

You might want to check out pygdb (vimscript #2270) if you prefer GUI debuggers, it looks very promising.

If you want to contact me, simply fire off a message to vimdebugger@gmail.com.
 
install details
Complete and comprehensive installation instructions are provided in the file quick-start.txt
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vdb-0.4.4.tar.gz 0.4.4 2010-02-07 7.0 James Dominy vdb-0.4.4.tar.gz 2010-02-08
* Aoyama Shotaro: add a ruby interface
* Aoyama Shotaro: fixed a typo in cpdb.py and made pdbout global
* Aoyama Shotaro: using subprocess module instead of os,popen
* hacked debuggers to be included in the main package hence forth
* lots more, see change log in the README
ip used for rating: 3.145.60.166

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github