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
- In Call Tree, right-click a method that belongs to the assembly you want to mark as system.
- 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
- On the menu bar, choose Options dialog opens. . The
- Select the System module folding node in the left tab.
- Enable/disable, add/remove the assemblies to and from categories.
- Click OK to apply changes.