View RSS Feed

My Java Tips

Debugging - All references of a class/object

Rate this Entry
by , 11-04-2011 at 06:48 PM (1371 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.

Name:  references_debug.PNG
Views: 96
Size:  3.1 KB

Submit "Debugging - All references of a class/object" to Facebook Submit "Debugging - All references of a class/object" to Digg Submit "Debugging - All references of a class/object" to del.icio.us Submit "Debugging - All references of a class/object" to StumbleUpon Submit "Debugging - All references of a class/object" to Google

Tags: None Add / Edit Tags
Categories
Eclipse

Comments