-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.2, 1.4.2_04, 5.0
-
b28
-
generic, x86
-
generic, solaris_2.5.1, windows_xp
Name: nt126004 Date: 03/13/2002
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
If i use a current JDK (1.4) in a IDE (eclipse) or what
ever debugger you choose to use, then when you debug
through the JDK classes you don't see the local vars ect.
This is because the rt.jar of the JDK (so not the
JRE) doesn't have debug attributes for those things. I
believe the only thing that is different from the JRE
rt.jar is that it does have the source attribute because
in Eclipse where i can attach source jar to a class file
jar i can't use the JRE rt.jar.
So if that is already different why don't we also include
full debugging attributes in the JDK? It is not meant for
runtime or performace so that can't be a discussion.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Just debug in a debugger through the JDK classes
EXPECTED VERSUS ACTUAL BEHAVIOR :
that i see all the local vars ect.
This bug can be reproduced always.
CUSTOMER WORKAROUND :
What i do know is completely recompile the rt.jar and
overwrite this one. But that is not very easy to do.
Because for one thing the JDK classes by itself don't
compile all!! You still need to include other jars. Which
i find very strange. the rt.jar should compile by itself
it should have no dependencies with other things.
(Review ID: 139579)
======================================================================
Name: tb29552 Date: 01/24/2004
A DESCRIPTION OF THE REQUEST :
Currently, although the source code for the java core classes is provided, it is very hard to debug calls to these core libraries because local variable information is not available.
Please provide a separate download of the SDK (for developers) that contains full debug information for the rt.jar and other libraries.
JUSTIFICATION :
Full debug information will be a gread aid for java developers.
Currently I have to either guess what the system code does, or to compile some of the clasees by myself (from the provided source code).
(Review ID: 235567)
======================================================================
- relates to
-
JDK-4473029 JPDA: allow access to the raw slot info when there is no LocalVariableTable
-
- Closed
-