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.
You can add a breakpoint after the loop and click F8 (resume). The debugger will stop on the next found breakpoint, e.g. you will have skipped the loop(s).
Breakpoints To define a breakpoint in your source code, right-click in the left margin in the Java editor and select Toggle Breakpoint. Alternatively, you can double-click on this position. The Breakpoints view allows you to delete and deactivate Breakpoints and modify their properties.
menu item. Choose Run/Debug on the left, about half-way down. Choose Perspectives under that. Select Never at Open the associated perspective when launching and Open the associated perspective when an application suspends.
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With