How to watch variables when tracing over JRE in Eclipse?

Go To StackoverFlow.com

0

I found that when tracing JRE source code in eclipse, I can't see variable values. Is it possible to see them somehow?

EDIT

The answer was to rebuild rt.jar. Just attaching JDK sources is not sufficient.

2012-04-05 20:36
by Suzan Cioc
This should help: http://stackoverflow.com/questions/1313922/step-through-jdk-source-code-in-intellij-ide - davidfrancis 2012-04-05 23:16


0

Do you mean debugging java code ? if so if you set a breakpoint a debugger should stop there and you are going to see all variables in a current context. You can even mouseover your source code to see values

2012-04-05 22:55
by maestr0
Not if the class has been compiled without debug information. This is the OPs issue - davidfrancis 2012-04-05 23:05


0

Ads