Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » debugging in JDK rt.jar classes
debugging in JDK rt.jar classes [message #91954] Wed, 03 September 2003 23:39 Go to next message
Eclipse UserFriend
Originally posted by: paul.moore06.ca.com

I cant beleive this is so hard. How do I set myself up so that I can debug
into the JRE rt.jar - these classes are compiled without debug info. There
must be some no brainer trick I am missing.
Re: debugging in JDK rt.jar classes [message #92004 is a reply to message #91954] Thu, 04 September 2003 02:40 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Ask your JRE provider to compile these classes with debug information or
re-compile / re-jar them up yourselves.
The debugger cannot give you what is not there :-)

Darins

"Paul Moore" <paul.moore06@ca.com> wrote in message
news:bj5u3i$n9f$1@eclipse.org...
> I cant beleive this is so hard. How do I set myself up so that I can debug
> into the JRE rt.jar - these classes are compiled without debug info. There
> must be some no brainer trick I am missing.
>
Re: debugging in JDK rt.jar classes [message #92369 is a reply to message #92004] Thu, 04 September 2003 15:13 Go to previous message
Eclipse UserFriend
Originally posted by: paul.moore06.ca.com

Thanks - I had sort of worked that out. Sun doesnt provide them in debug
form, the source code for JDK 1.4.2 is not available. Why they cant
provide debug builds with the SDK (as opposed to JRE) is beyond me (and
many others, looking at sun support site).

I tried something else in eclipse. Import src.zip into my project (the
pieces I needed) and compile them as part of my project. Then use
-Xbootclasspath/p to force them to be used. This worked for running the
classes from the command line (java -X ....) but I could not persuade it
to work inside eclipse. It continued to load the run time from the JRE

> Ask your JRE provider to compile these classes with debug information or
> re-compile / re-jar them up yourselves.
> The debugger cannot give you what is not there :-)
Previous Topic:Cannot rebuild after making change to eclipse itself (org.eclipse.jdt.ui)
Next Topic:Folding support?
Goto Forum:
  


Current Time: Wed Jul 17 03:38:05 GMT 2024

Powered by FUDForum. Page generated in 0.03476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top