sponsor Vim development Vim logo Vim Book Ad

yavdb : Yet Another (Generic) Vim Debugger Integration

 script karma  Rating 44/20, Downloaded by 2000  Comments, bugs, improvements  Vim wiki

created by
David Morris
 
script type
utility
 
description
This is a generic Vim <->Debugger Interface Tool designed to be adaptable to any debugger application.  Currently supported debuggers include jdb and gdb.

Script Requirements:
-VIM compiled with Signs, Client-Server, and Python support.
-Python 2.5
-An operating system with support for named pipes

Using YAVDB:

  yavdb [-s servername] [-t type] <debugger command line>

-s specifies the Vim servername.  If no VIM (or GVIM) window exists with this servername, a new GVIM window will be opened.  If not specified, the servername 'VimDebugger' will be used.  If multiple applications are being debugged simultaneously unique servernames must be used.

-t can be used to override the debugger type.  If this option is omitted the debugger name will be used as the type.  Currently supported debugger types include 'gdb' and 'jdb'.  Note that jdb will only correctly notify VIM of events when classnames are identical to filenames (other than the .java extension).

VIM will have the following key mappings set:

<C-F5> Run Application
<F5> Continue Execution
<F7> Step Into a Function
<F8> Next Instruction
<F9> Set Breakpoint
<F10> Print variable value under cursor
 
install details
Place the file yavdb.vim in your plugins directory.
Place the file yavdb on in a directory on your path.
 

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
yavdb.tgz 0.1 2007-07-13 6.0 David Morris Initial upload
ip used for rating: 3.144.212.145

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