sponsor Vim development Vim logo Vim Book Ad

VimDebug : integrated debugger for perl, ruby, python (updated 01/2008)

 script karma  Rating 96/40, Downloaded by 4564

created by
eric johnson
 
script type
utility
 
description
VimDebug is designed to integrate your favorite debugger with Vim.  Currently supported debuggers are Perl, Ruby, and Python.  There is untested support for gdb as well in this release.  There are plans to support more languages.  This is a much more mature version than previous releases, but it is still beta.  

This release includes a solid debug console.

Please email me about any problems you may have.


Requirements

unix/linux
perl
IPC::Run perl module (http://search.cpan.org/~rsod/IPC-Run-0.80/lib/IPC/Run.pm)
vim with +signs compiled in.


Usage


Set/reset these in your .vimrc if you want:

<F12>      starts the debugger
<Leader>s/ starts the debugger with command line arguments that you type in
<F10>      restart debugger.  break points are always saved (for all dbgrs)
<F11>      exit the debugger

<F2>       show console
<F6>       next
<F7>       step
<F8>       continue

<Leader>b  set break point on the current line
<Leader>c  clear break point on the current line

<Leader>v  print the value of variable under the cursor
<Leader>v/ print the value of an expression that you type in

<Leader>/  type in a command for the debugger to execute, and echo the result.
           (note that its not hard to make everything crash horribly with this
           command if you do something like change the debugger prompt.)


let g:DBGRconsoleHeight   = 7
let g:DBGRlineNumbers      = 1
 
install details
$ tar xvzf VimDebug*tar.gz
$ perl Makefile.PL
$ make
$ make install
$ make installvim # or copy vim/plugin/*vim to your plugins directory
 

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
VimDebug-0.4.tar.gz 0.4 2008-01-06 6.0 eric johnson Dramatically improved debug console.  New underlying API makes adding support for new languages simpler.  Added support for Gdb, but this module is not yet tested.  This project is still in beta.
VimDebug-0.3.5.tar.gz 0.3.5 2008-01-02 6.0 eric johnson added Python, a very basic debug console, and some other gui improvements; still beta
VimDebug-0.3.tar.gz 0.3 2007-12-30 6.0 eric johnson complete rewrite.  much more mature.  this version only supports perl and ruby.
vimDebug-0.2.tar.gz 0.2 2003-06-24 6.0 eric johnson fixed some problems with the install process (added multvals.vim)
script now works with perl v.5.6+ (instead of v.5.8+)
fixed a bug involving arrays and eval() in the perl debugger module
vimDebug-0.1.tar.gz 0.1 2003-06-03 6.0 eric johnson Initial upload

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.
   
SourceForge.net Logo