Breakpoints are typically attached to a particular line of code; they pause the debugger when a particular line of code is about to be executed. Also, you can set a breakpoint to be activated when a certain type of exception is thrown. Exception breakpoints are not associated with a particular line of code.
To set an exception breakpoint:
If you are debugging PL/SQL
and you would like to create an exception breakpoint for a
particular Oracle Error Code, enter $Oracle.EXCEPTION_ORA_<
number>
for the name of the exception. For example:
$Oracle.EXCEPTION_ORA_6502
By default, the debugger automatically creates a persistent exception
breakpoint for uncaught throws for java.lang.Throwable
.
This breakpoint will occur whenever an uncaught exception is thrown. You
cannot delete a persistent breakpoint, although you can disable it
Copyright © 1997, 2004, Oracle. All rights reserved.