Remove java exception breakpoints when debugging L

2020-05-23 10:45发布

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

1条回答
Juvenile、少年°
2楼-- · 2020-05-23 11:38

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

查看更多
登录 后发表回答