dotTrace 2024.3 Help

Fold 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.png icon.

Folded filtered calls are marked with the callchain_folded.png icon.

To fold a chain of filtered calls

  1. Select a desired call chain that contains filtered calls.

  2. Click 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 callchain_folded.png to unfold the calls.

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

To fold chains of filtered calls by default

  1. From 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.png

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

filtered_callchain_folded.png
Last modified: 26 May 2024