• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is rt.jar debuggable in JDK6?

 
Ranch Hand
Posts: 193
Mac OS X Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wonder if we can view the information like local variables in Eclipse debugger when debugging into JDK?

Thanks,
Jiafan
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Jiafan Zhou
Ranch Hand
Posts: 193
Mac OS X Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic