Configure 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 dotTrace applies to system methods will be applied to methods from this user assembly as well – the way the methods' time is calculated in Hotspots and 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, 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 dotTrace 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
In the main menu, select Options dialog opens.. The
Select the System module folding node in the left tab.
Enable/disable, add/remove the assemblies to and from categories.