Reputation: 899
Suppose we are in a middle of debugging a application and you have a linkedlist, hashmap or other collection framework implementation with 1000 of items. Is there a possibility to inspect the list or map over a given item while debugging and not programmatically ? Suppose we are using eclipse as a ide.
Upvotes: 1
Views: 160
Reputation: 10789
In your Debug
perspective
There is Variables
view , where you can see inner structure and elements of every object in current context.
In Expressions
view you can add custom one-line expression to get any result.
Maybe, Display
view will be useful, where you can execute set of Java expressions.
Upvotes: 6