A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
"Start with collection paused" only affects when the profiler begins recording data, not how the app is launched or debugged.
When that option is checked and the Performance Profiler is started:
- Visual Studio launches the app under the selected profiling tool (for example, CPU Usage, .NET Object Allocation, Instrumentation) without immediately collecting data.
- The app runs normally, but profiling collection is paused.
- In the diagnostic session view that appears (the profiler report window), a Record button is available.
- When ready to begin collecting performance data (for example, after navigating past startup code), select Record. From that point on, the profiler records data.
- To stop collecting and see the report, select Stop collection (or close the app).
This mode is intended for scenarios where startup behavior is not interesting and the focus is on a later portion of execution. It does not attach the debugger; the app runs without debugging while profiling.
References:
- Analyze performance by using CPU profiling in the Performance Profiler (C#, Visual Basic, C++, F#)
- Instrument your .NET application in Visual Studio (C#, C++, Visual Basic, F#)
- Analyze memory usage by using the .NET Object Allocation tool
- GPU usage
- Run profiling tools on release or debug builds (C#, Visual Basic, C++, F#)