You can control the profiling process in two ways:
- Using the dotTrace Performance Controller window
- Using dotTrace API
Most of the time, however, you'll use the Controller window.
After you configure profiling settings and click Run in the Profiler Configuration dialog box, the dotTrace Performance Controller window opens.
Its appearance depends on the type of application and profiling settings.
For example, if the Start profiling immediately check box
is selected, the following window is displayed:
If the check box is not selected, you see the following window:
- If you think that all information you need has been collected during profiling, click Get Snapshot.
After a shapshot is created, you can stop profiling. Click Kill Process
to end the process being profiled if you are not planning to take more snapshots.
Alternatively, you can start profiling again. Click Start Profiling and return to the first step.
NoteWhen you click Kill Process, no snapshot is produced. When you close the profiled application manually, a snapshot is created.