Is it possible see all the references to an object in execution time?

前端 未结 4 1603
我寻月下人不归
我寻月下人不归 2020-12-03 01:36

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 profil

4条回答
  •  情歌与酒
    2020-12-03 02:09

    Ok, Netbeans show all the references to an object.

    First, run the project in debug mode CTRL + F5, after, show the Loaded Classes Alt + Shift + 4 or Window->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.

    In the bottom area where is

提交回复
热议问题