码迷,mamicode.com
首页 > 其他好文 > 详细

debug的时候出现停在ThreadPoolexecutor.class文件中停留的解决办法

时间:2016-08-27 23:16:41      阅读:629      评论:0      收藏:0      [点我收藏+]

标签:

原因:

The posted stack trace indicates that a RuntimeException was encountered in a Daemon thread. This is typically uncaught at runtime, unless the original developer caught and handled the exception.Typically, the debugger in Eclipse is configured to suspend execution at the location where the exception was thrown, on all uncaught exceptions. Note that the exception might be handled later, lower down in the stack frame and might not lead to the thread being terminated. This would be cause of the behavior observed.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.



在MyEclipse中选择Window->Preference->Java->Debug,
然后将右侧的“Suspend execution on uncaught exceptions”的勾去掉即可。

原文地址:http://www.zhouwenze.com/archives/20120530-647.html

debug的时候出现停在ThreadPoolexecutor.class文件中停留的解决办法

标签:

原文地址:http://www.cnblogs.com/renboqie/p/5813929.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!