dotTrace 2016.3 Help

Folding Filtered Calls

The tree of function calls often includes functions that you don't want to analyze.

Calls to functions from System and Microsoft namespaces, for example. Normally, these calls are filtered out and are shown in the snapshot in gray font. Use folding to hide chains of filtered calls. You can apply folding to a single node, or hide filtered calls by default.

Filtered calls that can be folded are marked with the /help/img/dotnet/2016.3/callchain_unfolded.png icon.

Folded filtered calls are marked with the /help/img/dotnet/2016.3/callchain_folded.png icon.

To fold a chain of filtered calls

  1. Select a desired call chain that contains filtered calls.
  2. Click /help/img/dotnet/2016.3/callchain_unfolded.png to fold the calls.

To unfold a chain of filtered calls

  1. Select a desired call chain that contains filtered calls.
  2. Click /help/img/dotnet/2016.3/callchain_folded.png to unfold the calls.

Alternatively, you can choose View | Toggle System Functions Folding on Subtree on the menu bar or press Ctrl+Space to fold or unfold filtered calls.

To fold chains of filtered calls by default

  1. On the menu bar, choose View | Options. The Options dialog opens.
  2. Select the Folding node in the left tab.
  3. Select the Fold filtered system calls on tree expansion check box in the right pane.
  4. Click OK to apply changes.

As an example, the ThreadStart function from the System.Threading namespace consists of many system calls, however their contribution to the execution time is insignificant. Moreover, you don't want to analyze its performance because you can only improve your own code.

/help/img/dotnet/2016.3/filtered_callchain_unfolded.png

After the filtered calls are folded, you can focus on important information.

/help/img/dotnet/2016.3/filtered_callchain_folded.png

See Also

Last modified: 2 January 2017