How to: Pause and Resume Performance Data Collection

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at How to: Pause and Resume Performance Data Collection.

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

System_CAPS_ICON_note.jpg 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.

Controlling Data Collection
How to: Start and End Performance Data Collection

Show: