
Wednesday September 20, 2006
TIP: Debugging JDK classes with Netbeans
Many times one needs to debug (step) into the JDK classes. Most IDEs allow the user to associate the sources (JDK_INSTALLATION_DIR/src.zip file)with the JDK in use and step into the JDK sources.
In case of Netbeans stepping into JDK sources is disabled by default. As a result one is unable to step into the JDK sources. Another symptom of this is that the stack frames correspoing to the JDK sources are shown under the collapsed Hidden Source Calls node.To enable stepping into the JDK sources (or any other hidden source calls) do the following:
- Start your debug session
- Show the Sources window using Windows:Debugging:Sources(Alt+Shift+8 on Windows)menu item
- Locate the JDK sources entry and select the checkbox under Use for debugging column.
I wish a tooltip on the Hidden Source Calls node could have some indication of this information. I have already filed and RFE for it.
In an upcoming blog entry I will explain how to view the local variable values in the JDK classes.
Posted by sandipchitale
( Sep 20 2006, 07:44:56 AM PDT ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/tip_debugging_jdk_classes_with
Posted by Tom Hawtin on September 20, 2006 at 10:49 AM PDT #
Posted by Drapier Wim on October 27, 2006 at 01:47 AM PDT #