can't step into jdk source

Hi all,
for debugging purposes I try to step into some JDK code. But everytime I try it the editor goes into compiled class, although I have set the source path to the JDK. Here are the settings:
My JDK is under c:\j2sdk131
Sourcepath points to c:\j2sdk131\src\classes
JavaDoc API Path points to c:\j2sdk131\docs\api

What's wrong with this?
Greetings,
Ralf.

1 comment

Ralf Heydenreich wrote:

Hi all,
for debugging purposes I try to step into some JDK code. But everytime I try it the editor goes into compiled class, although I have set the source path to the JDK. Here are the settings:
My JDK is under c:\j2sdk131
Sourcepath points to c:\j2sdk131\src\classes
JavaDoc API Path points to c:\j2sdk131\docs\api

What's wrong with this?
Greetings,
Ralf.


the jdk classes are compiled without debug symbols (as in javac -O).
you could recompile some of them and set the JVM bootpath to have these
recompiled ones in front of rt.jar (see the java -X: options)

you can't redistribute jdk classes modified in any way though, but the
trick above can be used to step ...

Edo

0

Please sign in to leave a comment.