dotTrace 2017.2 Help

Folding System Calls

The tree of method calls often includes methods that are meaningless for analysis.

These could be, for example, calls to methods from System and Microsoft namespaces. Normally, these calls are filtered out and are shown in Call Tree in gray font. Use folding to hide chains of system calls.

System call chains that can be folded are marked with the callchain unfolded icon.

Folded call chains are marked with the callchain folded icon.

To fold a chain of system calls:

  1. Select a desired call chain that contains system calls.
  2. Click callchain unfolded or press Ctrl+Space to fold the calls.

To unfold a chain of system calls:

  1. Select a desired call chain that contains system calls.
  2. Click callchain folded or press Ctrl+Space to unfold the calls.

Example

tv plain list 2

For instance, if in the example above folding is configured so that all system calls must be folded, Call Tree will look as follows:

UserMethod1
   |UserMethod2
   |   |SystemMethod2
   |callchain foldedSystemMethod1
      |UserMethod1
      |UserMethod2
         |SystemMethod1

Configuring Folding

System calls folding is configured in Timeline Viewer options. Here you can add/remove*, enable/disable folding filters. Each folding filter has only one parameter - the name of a system module. If the filter is enabled, chains of calls to module methods are folded into separate nodes.

To add a folding filter:

  1. On the menu bar, choose View | Options. The Options dialog opens.
  2. Select the System module folding node in the left tab.
  3. Click Add to add a new module. The Add Module dialog opens.
  4. Choose a category and define a name for a new module. Click OK.
  5. The new module appears as a child in the module tree.
  6. Click OK to apply changes.
Last modified: 5 December 2017