Remove java exception breakpoints when debugging L

2020-05-23 10:59发布

问题:

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.