dotTrace 2024.1 Help

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

  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, 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

  1. From the main menu, select 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.

Last modified: 11 February 2024