Java Reference
In-Depth Information
Skipping over entire classes and packages
In the
Stepping
group in the
Debugger
window, you can create a list of classes
and packages that you always want the debugger to skip over, by defining a series
of simple filters. Beside each pattern is a checkbox that lets you enable or disable
the filter without necessarily having to remove it from the system completely.
Deselecting the option
Do not step into classes
disables the entire group of fil-
ters. By default,
IDEA
skips over all the classes included with the Java Runtime
and those from
JU
nit.
6.5.3
Customizing the data display view
Inside the
Debugger
tool window, you can right-click anywhere in the data dis-
play region and select the
Customize View
option to further tweak your debug-
ger preferences, as shown in an example of the frames options in figure 6.13.
Hiding null array elements
Selecting the
Hide null array elements
option in the
Customize View
window
eliminates any array variable entries that aren't set from the data view. You'll still
see the array variable, but if you drill down into the tree, only non-null index val-
ues are seen. This is a good way to limit the amount of data you have to weed
Figure 6.13
Use the Customize Frame View
dialog to further adjust your
debugging preferences.