dotTrace
 
Get dotTrace

Fold Filtered Calls

Last modified: 26 May 2024

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.

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.

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