蚀远程调试超时问题

问题描述:

当我尝试连接到本地计算机上的远程服务器(jboss)时,一切正常,但是,如果我尝试连接至远程计算机(再次连接至jboss),则eclipse开始连接,并在一段时间后告诉我

When I try to connect to remote server (jboss) that is on my local machine all works perfectly, but if I try to connect to remote machine (to jboss again) eclipse starts connecting and after some time tells me

Failed to connect to remote VM. Connection timed out.
Timeout occurred while waiting for packet 1479.

但是连接仍然有效,我必须手动将其杀死才能重新连接并出现连接超时错误

but connection stays alive, and I have to kill it manually to reconnect again and get the connection time out error

如何为远程调试设置超时,或者对于此类问题可能还有其他解决方法?

How can I set timeout for remote debug, or may be there are other workarounds for such kind of problem?

您可以在Eclipse中增加调试超时的值.

You can increase a value of debugging timeout in Eclipse.

转到窗口/首选项.在Java/Debug中,您将看到Debugger Timeout参数.

Go to Window/Preferences. In the Java/Debug you'll see Debugger Timeout parameter.