How to configure Eclipse to skip Exceptions in debug mode?

前端 未结 3 520
小蘑菇
小蘑菇 2020-12-30 00:41

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 break

相关标签:
3条回答
  • 2020-12-30 01:15

    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?

    0 讨论(0)
  • 2020-12-30 01:21

    In the Preferences menu under Java -> Debug you can turn off Suspend execution on uncaught exceptions That may help, as I expect although your codebase eventually catches exceptions, they are being thrown out of methods which are triggering this.

    0 讨论(0)
  • 2020-12-30 01:21

    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.

    0 讨论(0)
提交回复
热议问题