Debug Info in class files

miten mehta imiten at yahoo.com
Wed Dec 26 12:12:51 UTC 2012


Hi,

I was using eclipse ide to remote debug tomcat web app which used oracle jdk 7.  The ide was unable to open source for kerberos classes.  I learned that not all source is available in src.zip of oracle jdk.

I then tried to use openjdk source while debugging against oracle jdk but then I observed few things like for certain classes the local variables info was not available (may be because the classes for them were not compiled with -g option to add debug info).  Now eclipse pulls up source for those kerberos/gss related classes but I cannot really get to debug what ever I want since lot of information is not available.

how can I use openjdk to resolve this issue since I know there are instructions to install/build open jdk on debian but then will the class have debug info unlike oracle one ?

Regards,

Miten.


More information about the build-dev mailing list