Analyze Instances
Analyzing particular object instances is an important step of your investigation. dotMemory offers several views specifically tailored for the instance analysis:
Select a view
To select a view for an object instance, click the corresponding item in the view list.
Mark an instance
Marking an instance is a handy mechanism that allows you to quickly locate a particular instance on different views and even snapshots. For example, you have the instance A
in Snapshot #1
and want to check how the instance behaves in Snapshot #2
. All you have to do is to mark A
in the first snapshot. After this, A
will be marked on all views of all snapshots (including Snapshot #2
) allowing you to quickly find the instance.
Views where you can mark an instance
Marking an instance is possible on the Instances view (when analyzing an object set) and on any of the views used to analyze instances. In both cases, to mark an instance, you should open the context menu for the instance using the right-click and select one of the marking ways described below.
How can you mark an instance
- Mark with a group number
You can mark instances by adding them to one of the ten predefined groups. To do this, right-click an instance and select Mark object | <Mark 1> ... <Mark 0>. After this, the instance will be marked with a label containing the group number.
This way is useful when you want to track a number of related instances.
- Mark with a random color
To mark an instance with a random color, right-click the instance and select Mark object | Random mark. After this, the instance will be marked with a random color in all snapshots.
This way is better suited for quick marking of individual instances.
- Mark with a custom mark
This type of marking allows you to specify the color and mark name for the instance. To mark an instance with a custom mark, right-click the instance and select Mark object | Custom mark. In the opened window, specify mark color and name.
This way is useful when you want to track an instance that you consider of high importance to your app.
All objects you mark form a separate Marked objects object set. You can open this object set in any snapshot by clicking the ... marked link for the snapshot on the Analysis Overview page.
Export instance details
If you need to share the details about a particular object instance, you can export instance details to a file.
Open the Outgoing References, Instances, or Unreachable Objects view.
Select the desired instance.
In the context menu, select Export object....
Specify a filename, extension, and click Save.