eclipse老是报ThreadPoolExecutor$Worker.run()


资料地址: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" 把前面的勾去掉.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM