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
  • 29,281
  • 63
  • 213
  • 385

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
  • 5,318
  • 3
  • 28
  • 27
0

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

Martin Dürrmeier
  • 1,653
  • 5
  • 18
  • 35