9
votes

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?

1

1 Answers

4
votes

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

Check the answers to these questions: