Share via


How to: Pause and Resume Profiling

From the profiling session page window, you can control the collection of profiling data interactively.

Controlling data collection enables you to reduce the size of the profile data file, and to collect data only for those operations that you are interested in. You can pause and resume profiling multiple times in a performance session.

Profiling session page

Note

You can also start the performance session with profiling paused, then resume profiling at a later point in the program execution. To start the performance session with profiling paused, choose Start Performance Analysis with Profiling Paused command on the Debug menu.

To pause, resume, or stop profiling

  • On the profiling session page:

    • Choose Pause Collection to suspend data collection.

    • Choose Resume Collection to restart data collection after it has been paused.

    • Choose Stop profiling to end the profiling session and generate reports.

See Also

Tasks

How to: Start and End Profiling

Concepts

Controlling Data Collection in Profiling Tools