Debugging HashMap java class in Eclipse

Hi,
I wrote a small java program just to debug the HashMap class file using debug points in Eclipse.
Although on debuggin it did hang on the break point inside the put method in HashMap class, but i was unable to view the values of any variable either by moving my cursor on it or in variables view of Eclipse.

I want to understand the working of HashMap class for my knowledge from realy source code. As the code seems to be complex i want to debug it to understand step by step.
Please suggest some way to properly add debug points.

Also suggest some good way to learn about internal Working of HashMap class.

Thanks
Rohit BajajAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

awking00Commented:
Can you post the code of your small Java program, showing where you placed the breakpoint(s) and what it is you want to understand? Generally speaking, using the debug capability in Eclipse to understand program flow involves not just the breakpoints, but where to step in, step over, etc.
0
girionisCommented:
You should be able to see the hash map values when you click on them. Can you post a screen shot of what you're doing?
0
Jack FrostCommented:
To a great extent the inner workings of the standard classes is JDK dependent.   So really the ultimate word is the source code itself.  For instance here is a link to HashMap.java for OpenJDK 8:

http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/util/HashMap.java
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rohit BajajAuthor Commented:
Hi,
Thanks for help.. I will update this shortly
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.