dotTrace
 
2021.3
Get dotTrace
You are viewing the documentation for an earlier version of dotTrace.

Start Profiling Session from Visual Studio

Last modified: 16 November 2021

The main usage scenario of dotTrace integrated in Visual Studio is profiling the currently developed application. For this purpose, in this mode, dotTrace offers some additional profiling capabilities. More specifically, it allows you to profile not just a particular project, but a particular 'run configuration'.

Run configurations give you an ability to create a number of predefined configurations with different run parameters for your startup project, an arbitrary executable, or even any static method*. For example, you can create a number of configurations that will differ by CPU architecture and CLR version. These configurations can be used to quickly run or debug your project without the need to set up particular run parameters each time. As dotTrace shares the ReSharper platform, it is able to profile any run configuration.

By default, your solution has only one run configuration - the configuration for the startup project.

In this section:

You can also use the Performance Profiler window to quickly start profiling of a particular run configuration.

Note that profiling of run configurations for static methods can be started using the action list of the particular static method.

If you want to profile an arbitrary application from Visual Studio (rather than a particular run configuration), you have such a capability. To do this: