dotTrace 2017.3 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 ico recursive icon.

Folded recursive calls are marked with the ico recursive collapse icon.

To fold a recursive call:

  1. Select a recursive function call in the Thread Tree or Call Tree view.
  2. Click ico recursive 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 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 icon, so you can click the icon and fold all calls.

recursive unfolded

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

recursive folded

Last modified: 20 November 2017

See Also