以下方法解决了:
菜单栏Window→Preferences→Java→Debug 去掉suspend execution on uncaught exceptions和Suspend execution on compilation errors前面两个勾勾,再把Debugger timeout(ms)设置为不少于15000ms
本文介绍了解决Java调试过程中因未捕获异常和编译错误导致程序挂起的方法。通过调整Eclipse的调试设置,取消勾选suspend execution选项,并将调试超时时间设置为不少于15秒,可以有效避免此类问题。
以下方法解决了:
菜单栏Window→Preferences→Java→Debug 去掉suspend execution on uncaught exceptions和Suspend execution on compilation errors前面两个勾勾,再把Debugger timeout(ms)设置为不少于15000ms
4788

被折叠的 条评论
为什么被折叠?