Remove java exception breakpoints when debugging Liferay in eclipse

三世轮回 提交于 2019-12-20 10:58:08

问题


By debugging of Liferay Portal, that is tomcat application, eclipse make usual stop at ThreadPoolExecutor$Worker.run() line: 912 although I don't set a breakpoint at this class. The ThreadPoolExecutor isn't a class of my application, I think that belongs to tomcat. My Question is: what is wrong here, and why eclipse stopt here? And is it possible to set such "external breakpoints" in eclipse to ignore?


回答1:


You can fix this immediately by opening the Markers view and delete the Java Exception Breakpoints.

However, to permanently remove this type of breakpoints, you have to go to the Java Debug options and uncheck the "Suspend excecution on uncaught exceptions" option. Then this type of breakpoints won't get added again in the future.



来源:https://stackoverflow.com/questions/11531925/remove-java-exception-breakpoints-when-debugging-liferay-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!