dotTrace 2017.1 Help

Controlling Profiling Session

After you configure profiling settings and run the session, the dotTrace Controller window opens*.

/help/img/dotnet/2017.1/Controlling_Profiling_Session_1.png

To manually control the profiling session, use the buttons on the dotTrace Controller window:

  • Start - Click this button to start collecting performance data. It is displayed in the dotTrace Controller window if the Start immediately check box was not selected in the profiling options.
  • Get Snapshot and Wait - Click to generate a snapshot and stop collecting performance data.
    The alternative option (selected in the same drop down list) is:
    Get Snapshot and Start - Click to generate a snapshot and continue collecting performance data.
  • Drop - Click to discard collected data and stop collecting performance data.
  • Detach - Click to detach dotTrace from the profiled process, but keep the process running. Not available when using the Tracing or Line-by-line profiling types. The snapshot is not taken.
  • Kill All - Click to kill all profiled processes. The snapshot is not taken.
  • Stop Service - Click to stop a service. This button is displayed only when a Windows service is being profiled.

IMPORTANT: dotTrace Controller will automatically take a snapshot if you close the profiled application or the profiled application successfully finishes working by itself.

Profiling a Particular Application's Process

If your application runs more than one process, you can specify what process should be profiled.

To profile a particular process:

  • Do one of the following:
    • Select the desired process from the drop-down list.
      1. Expand the dotTrace Controller window by clicking the /help/img/dotnet/2017.1/Controlling_Profiling_Session_4.png button.
      2. Click the Processes tab.
      3. Select the process you want to profile with double click.
/help/img/dotnet/2017.1/Controlling_Profiling_Session_2.png

The Processes page shows process names (the Process column), PID, and a number of snapshots taken for each process (the #Snapshots column).
The currently profiled process is shown in bold.

Viewing Real Time Application Activity

To access additional functionality of the dotTrace Controller window, expand it by clicking the /help/img/dotnet/2017.1/Controlling_Profiling_Session_4.png button.

The Realtime Data page provides an overview of application activity showing CPU activity and memory consumption graphs.

/help/img/dotnet/2017.1/Controlling_Profiling_Session_3.png

Viewing Profiling Errors

The Errors page contains the list of errors that occur during profiling.

Last modified: 24 August 2017