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