Are debug / compiled versions of java class libraries available

Background: I am trying to debug the problem with a swing application, where I get a class exception in the standard Boolean representation of the JTable table. I have the source code but don't see any values ​​for local variables or parameters. I suppose this is because I am not java libraries compiled with debugging information included. I am using eclipse for Windows Vista.

Things I tried: I searched through Google and the oracle download site. There seems to be no obvious link to download the debug version of the libraries. There is one question on this site that refers to the old java download site, but now it just redirects to the standard oracle.

thank

+3
source share
1 answer

I have studied this problem before. There is a lot of debate about this, but there is no real answer. You will find some outdated links to some early beta versions of JDK6, which supposedly contain the DEBUG package with rt.jar, compiled with local variables included, but I never found anything.

Sorry, but recompiling alone seems to be the only option.

Edit: There seems to be some progress in this. As prompted, you can download the latest version of the snapshot, in which all jars should be collected with the appropriate debugging information.

+1
source

Source: https://habr.com/ru/post/1784934/


All Articles