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
@@ -53,9 +53,6 @@ If you need to install the workload but already have Visual Studio, go to **Tool
53
53
54
54
First, you'll create a C++ console application project. The project type comes with all the template files you'll need, before you've even added anything!
55
55
56
-
57
-
::: moniker range=">=vs-2019"
58
-
59
56
1. Open Visual Studio.
60
57
61
58
If the start window is not open, choose **File** > **Start Window**.
@@ -66,7 +63,12 @@ First, you'll create a C++ console application project. The project type comes w
66
63
67
64
After you apply the language and platform filters, choose the **Console App** template, and then choose **Next**.
68
65
69
-

66
+
::: moniker range=">= vs-2022"
67
+

68
+
::: moniker-end
69
+
::: moniker range="vs-2019"
70
+

71
+
::: moniker-end
70
72
71
73
> [!NOTE]
72
74
> If you do not see the **Console App** template, you can install it from the **Create a new project** window. In the **Not finding what you're looking for?** message, choose the **Install more tools and features** link. Then, in the Visual Studio Installer, choose the **Desktop development with C++** workload.
@@ -75,8 +77,6 @@ First, you'll create a C++ console application project. The project type comes w
75
77
76
78
Visual Studio opens your new project.
77
79
78
-
::: moniker-end
79
-
80
80
## Create the application
81
81
82
82
1. In *get-started-debugging.cpp*, replace all of the default code with the following code instead:
@@ -146,7 +146,7 @@ First, you'll create a C++ console application project. The project type comes w
146
146
147
147
2. Press **F5** or the **Start Debugging** button , the app starts, and the debugger runs to the line of code where you set the breakpoint.
148
148
149
-

149
+

150
150
151
151
The yellow arrow represents the statement on which the debugger paused, which also suspends app execution at the same point (this statement has not yet executed).
152
152
@@ -168,7 +168,7 @@ Mostly, we use the keyboard shortcuts here, because it's a good way to get fast
168
168
169
169
The yellow pointer advances into the `SendMessage` method.
170
170
171
-

171
+

172
172
173
173
F11 is the **Step Into** command and advances the app execution one statement at a time. F11 is a good way to examine the execution flow in the most detail. (To move faster through code, we show you some other options also.) By default, the debugger skips over non-user code (if you want more details, see [Just My Code](../debugger/just-my-code.md)).
174
174
@@ -184,7 +184,7 @@ Mostly, we use the keyboard shortcuts here, because it's a good way to get fast
184
184
185
185
1. While paused at the method call, press **F10** (or choose **Debug > Step Over**) once.
186
186
187
-

187
+

188
188
189
189
Notice this time that the debugger does not step into the `SendMessage` method. **F10** advances the debugger without stepping into functions or methods in your app code (the code still executes). By pressing **F10** on the `SendMessage` method call (instead of **F11**), we skipped over the implementation code for `SendMessage` (which maybe we're not interested in right now). For more information on different ways to move through your code, see [Navigate code in the debugger](../debugger/navigating-through-code-with-the-debugger.md).
190
190
@@ -194,7 +194,7 @@ Mostly, we use the keyboard shortcuts here, because it's a good way to get fast
194
194
195
195
1. In the code editor, scroll down and hover over the `std::wcout` function in the `SendMessage` method until the green **Run to Click** button  appears on the left. The tooltip for the button shows "Run execution to here".
196
196
197
-

197
+

198
198
199
199
> [!NOTE]
200
200
> The **Run to Click** button is new in [!include[vs_dev15](../misc/includes/vs_dev15_md.md)]. (If you don't see the green arrow button, use **F11** in this example instead to advance the debugger to the right place.)
@@ -225,7 +225,7 @@ Features that allow you to inspect variables are one of the most useful features
225
225
226
226
1. Press **F5** (or **Debug** > **Continue**) a few times to iterate several times through the `for` loop, pausing again at the breakpoint, and hovering over the `name` variable each time to check its value.
227
227
228
-

228
+

229
229
230
230
The value of the variable changes with each iteration of the `for` loop, showing values of `f`, then `fr`, then `fre`, and so on.
231
231
@@ -243,9 +243,14 @@ Features that allow you to inspect variables are one of the most useful features
243
243
244
244
1. Expand the `letters` variable to show the elements that it contains.
245
245
246
-

246
+
::: moniker range=">= vs-2022"
247
+

248
+
::: moniker-end
249
+
::: moniker range="vs-2019"
250
+

251
+
::: moniker-end
247
252
248
-
The **Locals** window shows you the variables that are in the current [scope](https://www.wikipedia.org/wiki/Scope_(computer_science)), that is, the current execution context.
253
+
The **Locals** window shows you the variables that are in the current [scope](https://www.wikipedia.org/wiki/Scope_(computer_science)), that is, the current execution context.
249
254
250
255
## Set a watch
251
256
@@ -263,7 +268,12 @@ Features that allow you to inspect variables are one of the most useful features
263
268
264
269
2. Click **F11** a few times until you see the debugger pause in the `SendMessage` method. Look at the **Call Stack** window.
265
270
266
-

271
+
::: moniker range=">= vs-2022"
272
+

273
+
::: moniker-end
274
+
::: moniker range="vs-2019"
275
+

276
+
::: moniker-end
267
277
268
278
The **Call Stack** window shows the order in which methods and functions are getting called. The top line shows the current function (the `SendMessage` method in this app). The second line shows that `SendMessage` was called from the `main` method, and so on.
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging-csharp.md
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Remote Debug a C# or VB project | Microsoft Docs"
3
3
description: Learn how to debug a Visual Studio C# or Visual Basic application from a remote computer by following these step-by-step instructions.
4
4
ms.custom: ['remotedebugging"=']
5
-
ms.date: "02/23/2022"
5
+
ms.date: "08/22/2022"
6
6
ms.topic: "conceptual"
7
7
dev_langs:
8
8
- "C++"
@@ -64,7 +64,7 @@ The debugger cannot deploy Visual C# or Visual Basic desktop applications to a r
64
64
4. On the **Properties** page, choose the **Debug** tab.
65
65
66
66
::: moniker range="vs-2022"
67
-
For C# projects targeting .NET Core or .NET 5 and later, starting in Visual Studio 2022, choose the **Debug launch profiles UI** from the **Debug** tab to configure settings for remote debugging.
67
+
For C# projects targeting .NET Core or .NET 5+, starting in Visual Studio 2022, choose the **Debug launch profiles UI** from the **Debug** tab to configure settings for remote debugging.
68
68
69
69

70
70
@@ -85,7 +85,6 @@ The debugger cannot deploy Visual C# or Visual Basic desktop applications to a r
85
85
**MJO-DL:4024** on Visual Studio 2019
86
86
::: moniker-end
87
87
88
-
89
88
7. Make sure that **Enable native code debugging** is not selected.
Copy file name to clipboardExpand all lines: subscriptions/delete-license.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: evanwindom
4
4
ms.author: amast
5
5
manager: shve
6
6
ms.assetid: e49242bc-e9f2-49e8-8caa-f574d508aba6
7
-
ms.date: 08/15/2022
7
+
ms.date: 08/22/2022
8
8
ms.topic: how-to
9
9
description: Learn how admins can delete subscription assignments in the Visual Studio Subscriptions Administration Portal
10
10
---
@@ -69,6 +69,7 @@ admin on the agreement through which the subscriptions were purchased.
69
69
> [!div class="mx-imgBorder"]
70
70
> 
71
71
72
+
0. Select a cell in the spreadsheet. This will de-select the two columns.
72
73
0. On the **Data** tab, choose **Filter**.
73
74
0. Select the filter drop-down in column "B", choose **Sort by color**, and select the color that was applied to the duplicate cells. You should now see only the users that will be deleted.
74
75
0. In the **Reference** column for each user, enter a word or phrase that you can use to filter on to find only the users you want to delete. Use the same term for all of the users. In our example, we'll use "DELETE USER". You can use the "fill down" feature in Excel to replicate the phrase for all of the users. Your template show now look like this:
@@ -79,12 +80,12 @@ admin on the agreement through which the subscriptions were purchased.
79
80
0. Switch back to the admin portal. The **Edit multiple subscribers** dialog should still be open. (If it's not, just select the **Bulk edit** option again.)
80
81
0. Select the **Browse** button, select the file you just saved, and select **Open**. The name of your file will now be displayed in the dialog.
81
82
0. Select **OK**.
82
-
0. You should now see your subscriber list. The subscribers you want to delete should have the phrase you defined listed in the **Reference** column.
83
+
0. You should now see your subscriber list. The subscribers you want to delete should have the phrase you defined listed in the **Reference** column. If it's not visible and you want to display it, select the **Edit columns** menu option and add the column.
83
84
> [!div class="mx-imgBorder"]
84
85
> 
85
86
86
-
0. In the **Filter by name, email or reference** field, enter the word or phrase you used to mark the users to be deleted.
87
-
0. You should now see only the users you need to delete. You can select one users, then use CTRL+A to select them all, and choose **Delete**.
87
+
0. In the **Filter by name, email or reference** field, enter the word or phrase you used to mark the users to be deleted. The filter will be applied even if the **Reference** column is not displayed.
88
+
0. You should now see only the users you need to delete. You can select one user, then use CTRL+A to select them all, and choose **Delete**.
88
89
0. Clear the filter field to display your updated subscriber list.
0 commit comments