Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » variables view & debugging jdk classes
variables view & debugging jdk classes [message #306089] Thu, 20 July 2006 08:01 Go to next message
Eclipse UserFriend
hi !

I want to know if this is normal or if Im doing something wrong or if I have wrong settings or
wahtever...

when Im stepping through code in jdk classes during debugging, the variable view in degug
perspective shows me only values of class member variables and method parameters, I cant vire or
inspect local variables... This is very annoying... When I try to inspect or view such variable, I
get "<variableName> cannot be resolved"

I uploaded screenshot, there you can see that variable view shows me only "this" and "arg0" and
"arg1" (method parameters)...

http://www.brkerez.cz/temp/debug.png

Im using eclipse 3.2 final but I had this problem also with 3.1 if I remember well...
Re: variables view & debugging jdk classes [message #306106 is a reply to message #306089] Thu, 20 July 2006 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Pavel Trka wrote:
> hi !
>
> I want to know if this is normal or if Im doing something wrong or if I have wrong settings or
> wahtever...
>
> when Im stepping through code in jdk classes during debugging, the variable view in degug
> perspective shows me only values of class member variables and method parameters, I cant vire or
> inspect local variables... This is very annoying... When I try to inspect or view such variable, I
> get "<variableName> cannot be resolved"
>
> I uploaded screenshot, there you can see that variable view shows me only "this" and "arg0" and
> "arg1" (method parameters)...
>
> http://www.brkerez.cz/temp/debug.png
>
> Im using eclipse 3.2 final but I had this problem also with 3.1 if I remember well...

This question comes up every so often. The answer is that the rt.jar
that ships with the JDK (where the core Java classes live) is not
compiled with full debug information included in the .class files, so
the debugger does not have local variable info.

Unfortunately, this is not something that Eclipse can do anything about
- all debuggers will have the same problem with JDK core classes.

You could petition Sun to release a debug-enabled build of rt.jar, but
I'm sure lots of people have asked for it and I've yet to see any
official Sun response.

--
Hope this helps,
Eric
Re: variables view & debugging jdk classes [message #306122 is a reply to message #306106] Fri, 21 July 2006 05:27 Go to previous message
Eclipse UserFriend
Sorry for not searching newsgroups before posting and thaks for info !


Eric Rizzo wrote:

> This question comes up every so often. The answer is that the rt.jar
> that ships with the JDK (where the core Java classes live) is not
> compiled with full debug information included in the .class files, so
> the debugger does not have local variable info.
>
> Unfortunately, this is not something that Eclipse can do anything about
> - all debuggers will have the same problem with JDK core classes.
>
> You could petition Sun to release a debug-enabled build of rt.jar, but
> I'm sure lots of people have asked for it and I've yet to see any
> official Sun response.
>
Previous Topic:Slow extension point schema builder?
Next Topic:string translation for dynamic variables
Goto Forum:
  


Current Time: Thu May 08 11:18:34 EDT 2025

Powered by FUDForum. Page generated in 0.05376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top