debugging in JDK rt.jar classes [message #91954] |
Wed, 03 September 2003 23:39 |
Eclipse User |
|
|
|
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 #92369 is a reply to message #92004] |
Thu, 04 September 2003 15:13 |
Eclipse User |
|
|
|
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 :-)
|
|
|
Powered by
FUDForum. Page generated in 0.02599 seconds