简体   繁体   中英

How to configure Eclipse to skip Exceptions in debug mode?

I am trying to debug huge system which has many caught exceptions. During debug process Eclipse stops on every exception, and I want to configure it to stop only on my breakpoint.

Is it any way to switch stopping on exceptions off ?

UPD.

  • I use Helios Release.
  • I already removed checkboxes from suspend on exception, and it did not helped.

In the Eclipse preferences, you can uncheck the option Suspend execution on uncaught exceptions , located in Java > Debug panel.

What is your Eclipse version btw?

在Java - > Debug下的Preferences菜单中,你可以关闭对未捕获的异常执行Suspend执行这可能会有所帮助,正如我所期望的那样,尽管你的代码库最终会捕获异常,但它们会被触发的方法抛出。

In the Breakpoints view, check whether you have a breakpoint configured to stop on caught exceptions.

If there is such a breakpoint, you can uncheck the option to stop on caught exceptions, or delete the breakpoint entirely.

If the Breakpoints view is not visible, you can access it via Window>Show View>Other, under Debug>Breakpoints.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM