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" 把前面的勾去掉.


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章