dotTrace 2016.2 Help

Profile Running Process

dotTrace takes privileges into account. Thus, it works only with those processes that can be reached
according to the rights of the current user account.
If a process you are looking for is missing, restart dotTrace as administrator. This will allow you
to see more processes running in the system.

To profile an already running process:

In the middle panel in Attach to Process, select the .NET process you are
going to profile. Only processes running on .NET Framework 4.0 or higher are displayed and available to attach.
If a process you are looking for is missing, click
Refresh to update the list of processes and/or click Show All Processes
to grant dotTrace administrative permissions (this will show
more processes running in the system).

In the right panel, in Profiler Options, specify profiling type. When attaching the
profiler to a process, you can choose only
between Sampling (evaluate performance and determine slowest methods in your app) and
Timeline (determine slowest methods and how method calls are distributed in time).
For more details on
profiler options, refer to the Profiler Options section.

Optionally, if you are going to control profiling session (take snapshots, end session, and so on) using
the API (rather than the Controller window), turn on Advanced
and Use profiler API. For more details on how to control profiling using the API,
refer to the Controlling Profiling Session Through API chapter.