dhblah
dhblah

Reputation: 10151

Why debugging jdk libraries in eclipse, I can't see local variables values?

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?

Upvotes: 10

Views: 2801

Answers (1)

Francisco Paulo
Francisco Paulo

Reputation: 6322

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

Check the answers to these questions:

Upvotes: 5

Related Questions