dotTrace 2017.2 Help

Call Stack

The call stack data are shown in the Performance Profiler window using two filters:

  • Methods and Subsystems
  • Call Tree

Both filters are almost identical to the corresponding filters in Timeline Viewer. Therefore, if you need more information on how a particular filter works, refer to the corresponding section of the Analyzing Timeline Profiling Results | Call Stack chapter. The section you are currently reading provides brief details on the filters and on how they differ from the corresponding filters in the standalone Timeline Viewer. In a nutshell, the main difference you should take into account is that unlike standalone Timeline Viewer, Methods and Subsystems and Call Tree in Visual Studio allow navigating to particular method declaration. Note that navigation to the source code is possible only if ReSharper or ReSharper Ultimate is installed in Visual Studio.

To navigate to a method declaration in the source code:

  1. Select a method in Call Tree or Methods and Subsystems.
  2. Press Enter or choose the Navigate to Code item in the context menu.

To navigate from a method declaration in the source code to Call Tree and apply a filter by all method occurrences:

  • In the source code in Visual Studio, do one of the following:
    • Right-click on the method name and in the context menu, select Navigate To | Locate in Performance Snapshot.
    • Place the cursor on the method name or anywhere inside the method and press Shift+Alt+S.
      Known issue in dotTrace 10.0.2: After installing dotTrace, the shortcut does not work until you reapply ReSharper's current keyboard scheme. To do this, in ReSharper | Options… | Environment | Keyboard & Menus, click the Apply Scheme button.
    This also applies a filter by method occurrences and their subtrees.
Last modified: 14 December 2017