dotMemory 2018.3 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 selected during dotMemory installation.

To navigate to a type declaration in Visual Studio

  1. In dotMemory, in any view that displays object types, right-click 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 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: 15 March 2019