Debugging - All references of a class/object
by, 11-04-2011 at 06:48 PM (1312 Views)
Consider the following scenario. You have a class and you with to see all the references of it. Itís definitely worth seeing that. Eclipse 3.3 provides this functionality.
Mark a class (whose references you want to see) in the Java editor and choose All Instanced from the context menu.
If you want to display references of the specific object, follow the following procedure:
In the Variable window, right click on the object and choose All References. A popup window will appear with all references. Go to the menu in the Variables view and choose Java->Show Reference to see all references of all available objects.