Exceptions Panel
The Exceptions Panel is a panel in the top-level Main Window.
The debugger can catch Java exceptions (that is, suspend the target JVM)
when they are thrown in the target JVM.
The Exceptions Panel displays a table of user-specified Java exceptions
(see the Catch Exception Dialog) to be caught in the debugger.
Exception events (when an exception is caught in the debugger) are recorded in
the Events Panel.
Note well that the first row in the table (All Uncaught Exceptions) is special.
If the first row is enabled (the Enabled checkbox is checked, the default),
then if an exception is not caught in the target program, then the debugger
will automatically catch it (suspend execution of the target JVM). In this case,
the specific exception does not need to be listed in the table.
table
Each row of the table represents an exception to be caught in the debugger.
Each exception has the following attributes (which are the columns of the table).
[Shift] Click on a column header to sort the table in
[descending] ascending order according to that column.
- Class - the class name (a tool tip displays the full class name
including package names, and if there are any exception includes or excludes --
see the Catch Exception Dialog)
of the exception. The standard
Java classes are displayed in blue; otherwise the class name is displayed
in red.
- Resolved - whether the exception is currently resolved; that is,
the corresponding exception class has been loaded by a class loader into the
target JVM, and the exception has been successfully set.
The number before the "/" is the number of times the exception has been
successfully resolved. The number after the "/" is the number of times the
exception class has been loaded by a class loader. The table cell is displayed
in green, if all resolutions have been successful. The table cell is
displayed in orange (unresolved), if no corresponding exception class has been
loaded in the target JVM.
A tool tip displays the class loader(s) that have loaded the exception
class.
- Enabled - whether the exception is currently enabled (checked) or
disabled (unchecked).
context menu
A popup Context Menu is displayed by right clicking in the table:
- Edit... - displays the Catch Exception Dialog
where the User can edit the properties of the selected (in the table) exception.
- Clear - clears in the debugger the selected (in the table) exception --
the selected row will be deleted from the table.
- Unsort - returns the table data to its default order.
- Columns... - displays a dialog that allows the User to show or hide
individual table columns in the exceptions table.
- Help... - displays this Help.
See the Exceptions Menu in the menu bar
to catch a particular exception and for
menu items that operate on all of the exceptions in the table.
©2001-2010. debugtools.com LLC. All rights reserved.