如何使用 VIM/GVIM 调试 Java 应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/545056/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to Debug Java Application using VIM/GVIM?
提问by Techmaddy
I asked this question previously (any-good-tutorial-for-moving-from-eclipse-to-vim)
我之前问过这个问题(any-good-tutorial-for-moving-from-eclipse-to-vim)
From the inputs, I started using GVIM instead of Eclipse. I added ctagsto it and I am able to navigate now comfortably.
根据输入,我开始使用 GVIM 而不是 Eclipse。我添加ctags了它,现在我可以舒适地导航了。
The only problem left for me is "Debugging"? I tried searching for some links, and couldn't find a useful one?
留给我的唯一问题是“调试”?我尝试搜索一些链接,但找不到有用的链接?
If anyone using or familiar with Java Debugging using vim/Gvim, can provide their inputs/ links/tutorials, it would be very helpful.
如果有人使用或熟悉使用 vim/Gvim 进行 Java 调试,可以提供他们的输入/链接/教程,这将非常有帮助。
采纳答案by Morendil
回答by Kannan
Eclim now supports a Java debugger. See http://eclim.org/vim/java/debug.html
Eclim 现在支持 Java 调试器。见http://eclim.org/vim/java/debug.html
回答by Kannan
Eclim offers integration between Vim and Eclipse. It should allow you to use Eclipse's debugger in Vim
Eclim 提供 Vim 和 Eclipse 之间的集成。它应该允许您在 Vim 中使用 Eclipse 的调试器
回答by VonC
You may not avoid installing a standalone debugger
您可能无法避免安装独立调试器
(like an eclipse you will use only for remote debugging your application)
(就像你将只用于远程调试你的应用程序的日食)
回答by aaaah
there is an awesome vim plugin for netbeans called jVi, at http://jvi.sourceforge.net/
在http://jvi.sourceforge.net/ 上有一个名为 jVi 的适用于 netbeans 的很棒的 vim 插件

