dotMemory 2016.1 Help

Navigating to Type Declaration

In some cases further investigation of a suspicious object (e.g., the object that may cause a leak) requires examining the source code. If you have both dotMemory and ReSharper (or ReSharper Ultimate) installed on your machine, you can instantly navigate to the object's type declaration in Visual Studio. This feature is available in any dotMemory view that displays types.

Feature Requirements

  • The source code of the application you have a snapshot for is opened in Visual Studio.
  • ReSharper or ReSharper Ultimate is installed in Visual Studio.
  • dotMemory is installed with enabled integration into Visual Studio: the Visual Studio Integration option was turned on during dotMemory installation.

To navigate to a type declaration in Visual Studio:

  1. In dotMemory, in any view that displays object types, right-click on a type* you need.
  2. In the context menu, select Find declaration (Visual Studio). This will open the Find Type Declaration window that lists all found type declarations in running Visual Studio instances.
  3. Click on a specific declaration to navigate to it in Visual Studio.

After you navigate to any type declaration at least once, the context menu will get the additional item Go to declaration (<solution_name>) (also available via the Ctrl+L shortcut). This allows you to instantly navigate to the type declaration in a specific solution (<solution_name>) omitting the Find Type Declaration window.

Last modified: 19 August 2016