dotTrace 2024.1 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 from 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: 10 April 2024