| Author |
Is rt.jar debuggable in JDK6?
|
Jiafan Zhou
Ranch Hand
Joined: Sep 28, 2005
Posts: 192
|
|
I wonder if we can view the information like local variables in Eclipse debugger when debugging into JDK? Thanks, Jiafan
|
SCJP, SCJD, SCWCD, SCBCD, SCEA
|
 |
Jelle Klap
Bartender
Joined: Mar 10, 2008
Posts: 1405
|
|
You can if you add the src.zip file located in the JDK home directory as the source attachement for the rt.jar of the configured project JRE in Eclipse. Edit: nope doesn't work ofcourse, my mistake. [ April 10, 2008: Message edited by: Jelle Klap ]
|
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
|
 |
Jiafan Zhou
Ranch Hand
Joined: Sep 28, 2005
Posts: 192
|
|
I even wrote an ant task to rebuild the JDK into a new jar with the debug flag set to true. And include it into Eclipse's jar classpath and remove the existing JRE library. However I am still not able to view local variables using this new jar. I wonder if I am doing anything wrong here. So any suggestions for those want to debug JDK? Regards, Jiafan
|
 |
 |
|
|
subject: Is rt.jar debuggable in JDK6?
|
|
|