dotTrace 2017.1 Help

Folding Recursive Calls

Recursive call stacks can be deep and difficult to analyze. If you want to see which functions occupy the most time and how many calls are made, use folding. dotTrace recalculates the tree of recursive calls and presents information by function signatures.

Recursive calls are marked with the /help/img/dotnet/2017.1/ico_recursive.png icon.

Folded recursive calls are marked with the /help/img/dotnet/2017.1/ico_recursive_collapse.png icon.

To fold a recursive call:

  1. Select a recursive function call in the Thread Tree or Call Tree view.
  2. Click /help/img/dotnet/2017.1/ico_recursive.png to fold the function call.

To unfold a recursive call:

  1. Select a recursive function call in the Thread Tree or Call Tree view.
  2. Click /help/img/dotnet/2017.1/ico_recursive_collapse.png to unfold the function call.

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

The SetValue function is marked with the /help/img/dotnet/2017.1/ico_recursive.png icon, so you can click the icon and fold all calls.

/help/img/dotnet/2017.1/recursive_unfolded.png

The /help/img/dotnet/2017.1/ico_recursive.png icon is replaced with the /help/img/dotnet/2017.1/ico_recursive_collapse.png icon and the number of calls is recalculated.

/help/img/dotnet/2017.1/recursive_folded.png

See Also

Last modified: 3 April 2017