Start Profiling Session
Your starting point in dotTrace is the Home window. Here you can start new profiling sessions or open snapshots collected in recent sessions.
Under Choose what you want to profile, select or create a run configuration.
Under Choose how you want to profile it, specify profiling options.
Under Run profiling, click Start.
warning
Attaching to running processes is available only on Windows. You can attach only to .NET Framework 4.0 or later, .NET Core 3.0 or later, .NET 5 or later processes.
Under Choose what you want to profile, Running Process, select the process you are going to profile. On Windows, you can also drag the Attach icon
onto the application window you want to attach to.
If a process you are looking for is missing, click Show All Processes to grant dotTrace administrative permissions (this will show more processes running in the system).
If you want to profile a native application, select Show native processes to see the native processes in the list.
Under Choose how you want to profile it, specify profiling options. Note that:
Tracing and Line-by-line profiling types are not supported when you attach the profiler to a process.
Sampling profiling type is not supported if you profile a native application.
Under Run profiling, click Start.