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

Posted 仁波切

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了debug的时候出现停在ThreadPoolexecutor.class文件中停留的解决办法相关的知识,希望对你有一定的参考价值。

原因:

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文件中停留的解决办法的主要内容,如果未能解决你的问题,请参考以下文章

STlink在Keil5打断点Debug调试的问题小结

Eclipse进行Debug时断点上有一个斜杠,并且debug没有停在断点处

在pycharm中打开debug后出现这样的问题,希望大神解决?

idea debug小技巧

android 4.1.1开发时拍照问题:拍完照,保存后没无法返回,一直停在拍照界面,4.0不会出现此种情况

虚拟机安装Linux redhat5.5,进入界面按enter键后,出现这个图然后就停在那了。怎么解决啊~!