How do I take a look at HashSet while debugging in Eclipse Expressions?,
Members - Reputation: 271
Posted 24 March 2012 - 10:44 AM
Personally, I always override toString() and print all my members' values nicely in there. The debugger displays the return value of toString() in the lower pane, if you don't override it, it falls back to Object.toString() which just prints the Object's class (if my memory is correct) plus the address the object is stored at, which is (usually) not very helpful.
While I'm thinking of it, you should also always override .equals() and .hashCode(), especially if you're putting those objects into a Set.