10

The problem is that while debugging java library classes, e.g. HashSet functions I cant see local variables. On variables tab I can only see function parameters and this's fields. When I'm trying to add local variable to watch, eclipse says: "errors during evaluation".

So my question is why does this happens? And how can I see those local variables values?

dhblah
  • 9,751
  • 12
  • 56
  • 92

1 Answers1

5

Long story short, JDK distributions aren't compiled with debug information.

Check the answers to these questions:

Community
  • 1
  • 1
Francisco Paulo
  • 6,284
  • 26
  • 25