Update! This plugin works while debugging Groovy/Grails (not surprisingly). New ! Now supports not showing instances of a class if the instance count is 0. New ! Now supports showing all instances of objects whose class has annotations such as @Resource. New ! Now supports showing all instances of objects implementing selected Java Interface. As mentioned in the Eclipse help Java Development User Guide Tips and tricks Debugging section, when debugging with JavaSE-1.6+ you can see all instances of a particular class. You can invoke this functionality via the popup menu (All Instances...) of Variables view rows for reference type values or in the Java editor by positioning the cursor on or selecting a reference type expression. However it is not possible to see all instances of an arbitrary class. The All Instances plug-in adds this functionality. It can be invoked using the: - Run > All Instances of Java Class... - All Instances of Java Class... toolbar buttons in the Variables and Expressions views Once invoked it shows the customized Open Type dialog of JDT. Once you selects the class it adds the Instances (count) expression to the Expressions view. It also adds the expressions for sub classes of the selected . You can further show hide inner and anonymous inner classes. If there are 0 instances and Show static fields preference is enabled expressions to show the values of the static fields of the classes are also added. In addition, an expression showing java.security.CodeSource info for the class is also added if that information is available.
Categories: IDE
Tags: java, debugger, all instances, sandipchitale
Additional Details
Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Sandip Chitale
Development Status: Alpha
Date Created: Sunday, May 29, 2011 - 22:40
License: BSD
Date Updated: Wednesday, December 14, 2022 - 09:47
Submitted by: SANDIP CHITALE
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
October 2024 | 0/0 | 0 | 5 |
September 2024 | 0/0 | 0 | 12 |
August 2024 | 0/0 | 0 | 25 |
July 2024 | 0/0 | 0 | 13 |
June 2024 | 0/0 | 0 | 16 |
May 2024 | 0/0 | 0 | 17 |
April 2024 | 0/0 | 0 | 16 |
March 2024 | 0/0 | 0 | 8 |
February 2024 | 0/0 | 0 | 11 |
January 2024 | 0/0 | 0 | 8 |
December 2023 | 0/0 | 0 | 9 |
November 2023 | 0/0 | 0 | 10 |
Reviews Add new review
Version 1.0.17 supports showing annotated all instances
Submitted by SANDIP CHITALE on Mon, 11/05/2012 - 02:03
Version 1.0.17 supports showing all instances of classes annotated with specified annotation.
Version 1.0.15 supports showing all instances of interface
Submitted by SANDIP CHITALE on Wed, 10/31/2012 - 13:51
Version 1.0.15 supports showing all instances of implementors of specified interface.
Very helpful, works smoothly
Submitted by Abdull Mising name on Wed, 09/12/2012 - 20:48
Very helpful, works smoothly in Eclipse Juno.
Even capable of listing all instances of some inner class and anonymous class.
The only feature I would like to see added in the next release: getting a list of all instances implementing a specified interface.