views:

1734

answers:

5

I asked this question previously:

http://stackoverflow.com/questions/495268/any-good-tutorial-for-moving-from-eclipse-to-vim

From the inputs, I started using GVIM instead of Eclipse. I added ctags to it and I am able to navigate now comfortably.

Only problem left for me is "Debugging"? I tried searching for some links, and couldn't a useful one?

If anyone using or familiar with Java Debugging using vim/Gvim, can provide there inputs/ links/ tutorials, it would be very helpful.

Thanks in advance.

A: 

I don't know any debugging methods, but I use vim whenever I'm programming - no matter what language. Using Makefiles and binding make commands to some function keys was a big help to me. Some examples:

:map <F12>     :make<CR>:cclose<CR>:copen<CR>
:map <S-F12>   :make debug<CR>:cclose<CR>
:map <C-F12>   :make exec<CR>:cclose<CR>
:map <C-S-F12> :make clean<CR>
soulmerge
+1  A: 

You may not avoid installing a standalone debugger

(like an eclipse you will use only for remote debugging your application)

VonC
+2  A: 

Your best bet seems to be integration of the command line debugger jdb, one such solution is yavdb, another is JavaKit.

Morendil
I think the JavaKit sounds helpful.
Techmaddy
+2  A: 

Eclim offers integration between Vim and Eclipse. It should allow you to use Eclipse's debugger in Vim

A: 

there is an awesome vim plugin for netbeans called jVi, at http://jvi.sourceforge.net/

aaaah