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:14:05 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

July 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 31
Jun   Aug

Get Firefox!

Friday, July 23, 2004

I was just doing some debugging, and wanted to modify the value of a String member variable to null to see if that would fix a bug I'm looking into. I clicked on the member in the "Data" window, selected Modify Value... from the right mouse menu, then entered null into the field for the new value.

However, that ended up setting the value to the String containing the four letters "null".

I shot an Oracle Messenger chat over to Liz who works on our core debugger and she passed on the tip. To set an Object member variable to null in the Modify Value dialog, enter the digit zero (0) into the New Value field, and check the checkbox that says Interpret New Value as Object Address.

Bingo. That did it.


1:49:41 AM    



© Copyright 2008 Steve Muench.