使用IntelliJ远程调试jnlp应用程序 [英] remote debugging a jnlp application with IntelliJ
本文介绍了使用IntelliJ远程调试jnlp应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用IntelliJ 10(在Win7上运行)调试Web启动应用程序。
I'm trying to debug a web start application using IntelliJ 10 (running on Win7).
我同时阅读了SO:
- remote debugging a jnlp application with eclipse
- How can I debug applications under Java Web Start (JNLP) ?
好像我我错过了什么。
我试图从命令行运行它,或者将参数添加到jnlp文件中,但无论我做什么,我得到 无法打开调试器端口:java.net .ConnectException连接被拒绝:连接
错误。
It seems like I'm missing something.
I've tried to run it from command line, or adding the arguments into the jnlp file but no matter what I do I get an Unable to open debugger port : java.net.ConnectException "Connection refused: connect"
Error.
如何调试Web启动应用程序?
How can I debug a web start app?
推荐答案
我知道这很愚蠢,但是一旦我将端口从5000更改为5005,一切正常。
I know it's stupid, but once I changed the port from 5000 to 5005 it all works.
这篇关于使用IntelliJ远程调试jnlp应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文