While debugging through some problems today, I discovered a few neat features of the JDeveloper 10g debugger.
- Configurable Member Filters on any Type
- Preference to Hide Null Array Entries
While debugging, in any of the Debugger windows you can click on a member and do "Edit Filters..." A dialog pops up that allows you to tell JDeveloper which members of that type you care about seeing in the debugger. For types with lots of members (only a few of which you ever look at while debugging) this can dramatically reduce the amount of "stuff" to stare at in the "Data" window.
Also, when working with arrays and collections (like, say, a HashMap), you frequently might have a majority of the collection's internal storage slots being null. Before discovering this debugger feature, I'd have to use the wheel on the mouse to scroll up and down to find the non-null entries in the collection. By doing a right-mouse "Preferences..." you can visit the "Hide" group of preferences and tick the checkbox "Null Array Elements" to hide any non-null array elements. This is another way to further reducing clutter while debugging.
2:05:03 PM
|