I don't get why you'd want a debugger in Vim when you could just use tmux to get what you want in a cleaner way.
I'd like to single-step through the code displayed in a vim editor window, with all the power of vim to navigate it, plus commands to single-step, watch variables, set breakpoints, etc. tmux or screen can't give me that, nor can gdb -tui.
Debugging In Vim
11–17 of 17 posts
Re: Debugging In Vim
#12node-vim-debugger https://github.com/sidorares/node-vim-debugger
presentation: http://andreysidorov.com/presentations/melbjs/0913/
Re: Debugging In Vim
#13Earlier quoted context omitted.
I'd like to single-step through the code displayed in a vim editor window, with all the power of vim to navigate it, plus commands to single-step, watch variables, set breakpoints, etc. tmux or screen can't give me that, nor can gdb -tui.
I was looking for the same thing, ended up using ddd, has watches, breakpoints etc. If you've found a better solution than that though feel free to let me know.
Re: Debugging In Vim
#14Earlier quoted context omitted.
One feature I can think of jumping to line numbers which come from make or compiler errors.
Vim has that with its quickfix window.
Re: Debugging In Vim
#15Similarly, debug JS in Vim (also using the netbeans protocol): node-vim-debugger https://github.com/sidorares/node-vim-debugger presentation: http://andreysidorov.com/presentations/melbjs/0913/
Re: Debugging In Vim
#16Similarly, debug JS in Vim (also using the netbeans protocol): node-vim-debugger https://github.com/sidorares/node-vim-debugger presentation: http://andreysidorov.com/presentations/melbjs/0913/
Is this ready yet? I can't seem to find the node-vim-inspector.
Re: Debugging In Vim
#17I highly recommend vdebug ( https://github.com/joonty/vdebug ) if you're looking for a great Vim interface to DBGP debuggers (for PHP, Python, Ruby, Perl, Node, etc.). Really nice, especially compared to the countless half-broken and out-of-date Vim/DBGP plugins that are scattered around vim.org and github.
Maybe this is great for PHP, where DBGP is the standard, but... I tried this for Python and was greatly put off by the need to download an obscure debugger tarball from ActiveState with some weird license on it, then (according to the vdebug documentation) run a very long command line by hand passing the name of the script every time I want to debug something. If I am going to trouble myself with that, it's hard to u…
Still, if you're trapped in the DBGP world for whatever reason, vdebug is miles better than any competition that I've found.