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.
Starting a profiling session on a local computer
To start profiling of an application
To start profiling of an already running application
Under Choose what you want to profile, Running Process, select the 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).
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.
Under Run profiling, click Start.
Starting a profiling session on a remote computer
You can profile .NET applications not only on the local computer, but on a remote computer as well. To profile remotely, you do not have to install dotTrace on a remote computer.
To start a profiling session on a remote computer
On the remote computer, do the following:
Copy the RemoteAgent.zip file from the dotTrace installation directory on your local computer (by default, C:\Users\[username]\AppData\Local\JetBrains\Installations\dotTrace[N]) to any directory on the remote computer.
Unzip the file on the remote computer.
Start 'Remote Agent' from the console on the remote computer.
Make sure the inbound connections to 'Remote Agent' (by default, it uses port 9100) are not blocked by the firewall.
On the local computer, start dotTrace as a standalone application.
On the right from Choose what you want to profile, select Remote.
In the Remote Connection Settings window, in Remote Agent URL, specify the address of the remote agent service. By default, net.tcp://[remote_computer_IP_address]:9100/RemoteAgent
Click Connect to establish connection with the remote host.