Starting Local 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.
To start profiling of an application
Choose Profile Local App in the left panel.
In the central panel in Profile Application, select the type of application you are going to profile.
In the right panel, configure profiling settings as described in Configuring Profiling Session.
To start profiling of an already running application
Choose Attach to Running App in the left panel.
Do one of the following:
In the central panel in the list of processes, select the .NET process you are going to profile.
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).
Drag the Attach icon onto the application you want to attach to.
In the right panel, configure profiling settings as described in Configuring Profiling Session. Note that Tracing and Line-by-line profiling types are not supported when you attach the profiler to a process.