All Instances
Select the All Instances command [ ] to open a popup containing a list of all Java object instances of the selected type that exist in the current debug target. The command has a keyboard shortcut of Ctrl+Shift+N. This command is only available if the Java virtual machine you are currently using supports instance retrieval.
The type to search for can be selected in several ways:
- In the Java Editor, highlight or place the cursor in the name of a type or a constructor for a type.
- In the Outline View, select a type or constructor.
- In the Expressions View or Variables View, select a Java object variable.
Once the popup has opened, you can move the list to the Expressions View by pressing Ctrl+Shift+I.
There is a maximum number of instances the virtual machine will return. This maximum can be changed on the Java > Debug > Heap Walking preference page.
This command applies to: