dotTrace 2020.3 Help

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

Folded recursive calls are marked with the 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 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 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 ico recursive png icon, so you can click the icon and fold all calls.

recursive unfolded png

The ico recursive png icon is replaced with the ico recursive collapse png icon and the number of calls is recalculated.

recursive folded png

Last modified: 06 August 2020