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?

1 Answer 1

5

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

Check the answers to these questions:

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.