Creating a Break on Exception

You can choose to break on all exceptions, a single exception, or a group of exceptions.

To break on all exceptions:

  1. Choose Debug | Debug Windows | Breakpoints from the menu to display the Breakpoints window.
  2. Click the Break on Exceptions tab to display the exceptions list.
  3. Check the box next to ALL EXCEPTIONS.

To break on some exceptions only:

  1. Choose Debug | Debug Windows | Breakpoints from the menu to display the Breakpoints window.
  2. Click the Break on Exceptions tab.
  3. Check the box next to the exception name. You can select more than one exception.

When your application runs in debug mode, execution is suspended upon reaching a line of code that causes an exception. A message box appears showing the cause of the suspension. The PL/SQL Editor opens and displays the source unit with a pointer at the line of code where the exception point is hit.


About Break on Exceptions

Disabling and Enabling a Break on Exception

Viewing a List of Break on Exceptions