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.

Suzan Cioc
  • 27,971
  • 54
  • 206
  • 370

2 Answers2

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

maestr0
  • 4,968
  • 3
  • 26
  • 27
0

Try how-do-i-view-and-debug-jdk-source-code-in-eclipse

Martin Dürrmeier
  • 1,613
  • 5
  • 17
  • 34