dotTrace 2021.1 Help

Configuring the List of System Modules

Sometimes, you may want dotTrace to treat particular user modules/assemblies as system ones. This may be helpful, for example, in case the user modules provide some core functionality and are not supposed to be optimized.

After you mark a user module as a system module, all rules that are applied to methods from system modules will be applied to methods from this user assembly as well: the way the methods' time is calculated in Methods and Subsystems, system calls folding.

To mark a user assembly as a system one

  1. In Call Tree, right-click a method that belongs to the assembly you want to mark as system.

  2. In the context menu, select Mark all Functions from Assembly 'MyAssembly' as System (where 'MyAssembly' is the name of the assembly you want to mark as system).

To mark the assembly back as a user one, simply select Mark all Functions from Assembly 'MyAssembly' as User from the context menu.

The list of modules/assemblies that dotTrace considers system is configured in Timeline Viewer options. Here you can add/remove*, enable/disable system assemblies. The list of user assemblies marked as system ones is grouped under the User-defined assemblies.

To configure the list of system modules/assemblies

  1. On the menu bar, choose View | Options. The Options dialog opens.

  2. Select the System module folding node in the left tab.

  3. Enable/disable, add/remove the assemblies to and from categories.

  4. Click OK to apply changes.

Last modified: 08 March 2021