eclipse eclipse远程调试超时问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5990438/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:10:17  来源:igfitidea点击:

eclipse remote debug timeout problem

eclipsejbossremote-debugging

提问by michael nesterenko

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

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

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?

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

回答by Oleg Pavliv

You can increase a value of debugging timeout in Eclipse.

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

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

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