资料地址:http://stackoverflow.com/questions/6290470/eclipse-debugger-always-blocks-on-threadpoolexecutor-without-any-obvious-excepti
eclpise debug 模式的线程经常会停在 ThreadPoolExecutor$Worker.run() 这是因未捕获异常导致的.
如果觉得烦了:
Configuring the behavior of Eclipse is straightforward - in the Preferences Dialog, the Debug pane under Java in the tree hierarchy, has the option titled "Suspend execution on uncaught exceptions", which can be unchecked.
打开参数面板,搜索 debug 找到 "Suspend execution on uncaught exceptions" 把前面的勾去掉.
本文介绍了解决Eclipse调试模式下线程经常停在ThreadPoolExecutor$Worker.run()的问题,通过配置Eclipse偏好设置,取消在未捕获异常时暂停执行的功能。提供详细步骤和操作指南。
559

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



