Debugger for Vim Code?

2 views
Skip to first unread message

Ovid

unread,
May 1, 2008, 4:36:42 AM5/1/08
to Vim Users
I was wondering if there's any debugger written specifically for Vim
code? I've got a thorny problem on a vim plugin on Solaris (I can't
share the code) and stepping through the code would be lovely (though I
realize this could be difficult, given the nature of vim).

Cheers,
Ovid

--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Perl and CGI - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/

Tony Mechelynck

unread,
May 1, 2008, 5:31:59 AM5/1/08
to vim...@googlegroups.com
On 01/05/08 10:36, Ovid wrote:
> I was wondering if there's any debugger written specifically for Vim
> code? I've got a thorny problem on a vim plugin on Solaris (I can't
> share the code) and stepping through the code would be lovely (though I
> realize this could be difficult, given the nature of vim).
>
> Cheers,
> Ovid

See ":help debug-scripts"


Best regards,
Tony.
--
Never let your schooling interfere with your education.

David Fishburn

unread,
May 1, 2008, 9:42:10 AM5/1/08
to vim...@googlegroups.com
> I was wondering if there's any debugger written specifically for Vim
> code? I've got a thorny problem on a vim plugin on Solaris (I can't
> share the code) and stepping through the code would be lovely (though I
> realize this could be difficult, given the nature of vim).

As I am sure you found out from Tony's post Vim has a built in
debugger for Vim scripts.

What I would suggest to you is to download and use this plugin by Hari:
" BreakPts - Debug Vim Scripts
" Author: Hari Krishna Dara
" http://www.vim.org/scripts/script.php?script_id=618

I use it regularly and love it.

HTH,
Dave

Reply all
Reply to author
Forward
0 new messages