You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/profiling/running-profiling-tools-with-or-without-the-debugger.md
+24-22Lines changed: 24 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,51 +57,53 @@ To collect performance data on release builds, run the Performance Profiler tool
57
57
58
58
The analyzed data appears on the **Report** page.
59
59
60
-
You can save the reports, and open them from the **Recently Opened Sessions** list on the Diagnostic Tools launch page.
60
+
For more information about the tools available for use in release builds and how to analyze the reports, see:
61
61
62
-
::: moniker range=">=vs-2022"
63
-

64
-
::: moniker-end
65
-
::: moniker range="<=vs-2019"
66
-

67
-
::: moniker-end
62
+
-[Analyze performance by using CPU profiling](../profiling/cpu-usage.md)
For more information about the tools available for use in release builds, see:
72
+
>[!NOTE]
73
+
> Use relaunch to skip the launch page and automatically run with your previous settings with **Alt+F2** or by clicking **Debug > Performance Profiler**.
70
74
71
-
-[Analyze performance by using CPU profiling](../profiling/cpu-usage.md)
1. (Optional) Save the report, and then you can open it later from the **Recently Opened Sessions** list on the Diagnostic Tools launch page.
76
+
77
+
::: moniker range=">=vs-2022"
78
+

79
+
::: moniker-end
80
+
::: moniker range="<=vs-2019"
81
+

82
+
::: moniker-end
80
83
81
84
## <aname="BKMK_Quick_start__Collect_diagnostic_data"></a> Collect profiling data while debugging
82
85
83
86
::: moniker range=">=vs-2022"
84
87
When you start debugging in Visual Studio by selecting **Debug** > **Start Debugging**, or pressing **F5**, the **Diagnostic Tools** window appears by default. To open it manually, select **Debug** > **Windows** > **Show Diagnostic Tools**. The **Diagnostic Tools** window shows information about events, process memory, CPU usage, and .NET Counters.
85
88
86
89

90
+
91
+
- Use the **Settings** icon in the toolbar to select whether to view **CPU Usage**, **Memory Usage**, or **.NET Counters**.
87
92
::: moniker-end
88
93
::: moniker range="<=vs-2019"
89
94
When you start debugging in Visual Studio by selecting **Debug** > **Start Debugging**, or pressing **F5**, the **Diagnostic Tools** window appears by default. To open it manually, select **Debug** > **Windows** > **Show Diagnostic Tools**. The **Diagnostic Tools** window shows information about events, process memory, and CPU usage.
90
95
91
96

92
-
::: moniker-end
93
97
94
-
- Use the **Settings** icon in the toolbar to select whether to view **Memory Usage**, **UI Analysis**, and **CPU Usage**.
98
+
- Use the **Settings** icon in the toolbar to select whether to view **CPU Usage**, **Memory Usage**, or **UI Analysis**.
99
+
::: moniker-end
95
100
96
101
- Select **Settings** in the **Settings** drop-down list to open the **Diagnostic Tools Property Pages** with more options.
97
102
98
103
- If you're running Visual Studio Enterprise, you can enable or disable IntelliTrace by going to **Tools** > **Options** > **IntelliTrace**.
99
104
100
105
The diagnostic session ends when you stop debugging.
101
106
102
-
>[!NOTE]
103
-
>Use relaunch to skip the launch page and automatically run with your previous settings with **Alt+F2** or by clicking **Debug > Performance Profiler**.
104
-
105
107
For more information about the tools available while debugging, see:
106
108
107
109
-[Measure application performance by analyzing CPU usage](../profiling/beginners-guide-to-performance-profiling.md)
0 commit comments