Remove java exception breakpoints when debugging Liferay in eclipse

Mark picture Mark · Jul 18, 2012 · Viewed 14.8k times · Source

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?

enter image description here

Answer

gamerson picture gamerson · Jul 18, 2012

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

Markers view with 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.

Java Debug options in Eclipse