dotTrace 2017.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 callchain unfolded icon.

Folded filtered calls are marked with the callchain folded icon.

To fold a chain of filtered calls

  1. Select a desired call chain that contains filtered calls.
  2. Click callchain unfolded to fold the calls.

To unfold a chain of filtered calls

  1. Select a desired call chain that contains filtered calls.
  2. Click callchain folded 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.

filtered callchain unfolded

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

filtered callchain folded

Last modified: 20 November 2017

See Also