解决debug时断点自动进入到URLClassPath.class类中

转发自: http://blog.sina.com.cn/s/blog_447dca3d01015yqf.html

问题:在eclipse中debug某个类,结果断点每次都先跳到URLClassPath.class中,但是在这个类中并没有打过断点。

原因:经过查找,发现是eclipse 在未捕获的异常上暂停执行了。

解决方法是:
把Window>Preferences>Java>Debug>Suspend execution on uncaught exceptions去掉

猜你喜欢

转载自lovemojienv.iteye.com/blog/2411567