Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:12:59 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

April 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Mar   May

Get Firefox!

Monday, April 26, 2004

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    



© Copyright 2008 Steve Muench.