dotMemory 2019.2 Help

Navigating to Type Declaration

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

Feature requirements

  • The source code of the application you have a snapshot for is opened in Visual Studio or JetBrains Rider.

  • (Visual Studio only) ReSharper or ReSharper Ultimate is installed in Visual Studio.

  • (Visual Studio only) 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

  1. In dotMemory, in any view that displays object types, right-click a type* you need.

  2. In the context menu, select Navigate to Declaration.

  3. If more than one IDE instance is found, dotMemory will open the Navigate to Type Declaration window that lists all found type declarations in running IDE instances. Click a specific declaration to navigate.

After you navigate to any type declaration at least once, the Navigate to Declaration (<solution_name>) action will be available via the Ctrl+L shortcut.

Last modified: 8 August 2019