Is there a way to see all the references to an object in execution time?
I’m using Netbeans, does this feature exist in it?
EDIT: No problem in using profilers to do this, I only need know the references, no matters how.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, Netbeans show all the references to an object.
First, run the project in debug mode
CTRL + F5, after, show the Loaded ClassesAlt + Shift + 4orWindow->Debug->Loaded Classes.Choose the class will want to see the references and double click on it.
Pause the execution and there is.
In the top is the attributes of the object, and in the bottom, all references to it.