Skip to content

Commit f879e93

Browse files
Merge pull request #11283 from MicrosoftDocs/main639099867574315324sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 22f7041 + 780325d commit f879e93

16 files changed

Lines changed: 122 additions & 62 deletions

.github/workflows/add-awp-metadata.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout PR
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
with:
2222
# Checkout PR head via pull refs on the base repository.
2323
# This avoids direct access to contributor forks during checkout.
@@ -214,7 +214,7 @@ jobs:
214214
215215
- name: Post review suggestions for metadata updates
216216
if: steps.commit.outputs.status == 'fork' || steps.commit.outputs.status == 'push-failed'
217-
uses: actions/github-script@v7
217+
uses: actions/github-script@v8
218218
with:
219219
script: |
220220
const fs = require('fs');

docs/debugger/debugger-feature-tour.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Visual Studio 2022 supports live code editing while debugging. For detailed info
4242

4343
- [Write and debug running code](hot-reload.md)
4444
- [Write and debug running XAML code with XAML Hot Reload](../xaml-tools/xaml-hot-reload.md)
45-
- [Edit and Continue](/visualstudio/debugger/how-to-enable-and-disable-edit-and-continue)
45+
- [Configure Hot Reload (previously called Edit and Continue)](/visualstudio/debugger/how-to-enable-and-disable-edit-and-continue)
4646

4747
::: moniker-end
4848

docs/debugger/edit-and-continue-visual-basic.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Edit and Continue (Visual Basic)"
3-
description: Edit and Continue is available for Visual Basic projects. Learn what edits are supported, and how to can control whether, and when, your edits are applied.
4-
ms.date: "08/15/2023"
2+
title: "Hot Reload (Visual Basic)"
3+
description: Hot Reload (previously called Edit and Continue) is available for Visual Basic projects. Learn what edits are supported and how to control when edits are applied.
4+
ms.date: "03/23/2026"
55
ms.topic: how-to
66
dev_langs:
77
- "CSharp"
@@ -18,25 +18,26 @@ author: "mikejo5000"
1818
ms.author: "mikejo"
1919
manager: mijacobs
2020
ms.subservice: debug-diagnostics
21+
ms.custom: awp-ai
2122
---
22-
# Edit and Continue (Visual Basic)
23+
# Hot Reload (Visual Basic)
2324

2425
::: moniker range=">=vs-2022"
2526
Hot Reload, previously called Edit and Continue, is a feature for Visual Basic debugging that enables you to change your code while it's executing in Break mode. After code edits have been applied, you can resume code execution with the new edits in place and see the effect.
2627
::: moniker-end
2728

2829

29-
You can use the Edit and Continue feature whenever you enter Break mode. In Break mode, the instruction pointer, a yellow arrowhead in the source window, points to the line containing an executable statement in a method or property body that will be executed next.
30+
You can use Hot Reload whenever you enter Break mode. In Break mode, the instruction pointer, a yellow arrowhead in the source window, points to the line containing an executable statement in a method or property body that will be executed next.
3031

31-
When you make an unauthorized edit, the change is marked with a purple wavy underline and a task is displayed in the Task List. You must undo an unauthorized edit if you want to continue to use Edit and Continue. Certain unauthorized edits may be permitted if done outside Edit and Continue. If you want to retain the results of such an unauthorized edit, you must stop debugging and restart your application.
32+
When you make an unauthorized edit, the change is marked with a purple wavy underline and a task is displayed in the Task List. You must undo an unauthorized edit if you want to continue to use Hot Reload. Certain unauthorized edits may be permitted if done outside Hot Reload. If you want to retain the results of such an unauthorized edit, you must stop debugging and restart your application.
3233

33-
Edit and Continue is supported in UWP apps for Windows 10 or later, and x86 and x64 apps that target the .NET Framework 4.6 desktop or later versions (the .NET Framework is a desktop version only).
34+
Hot Reload is supported in UWP apps for Windows 10 or later, and x86 and x64 apps that target the .NET Framework 4.6 desktop or later versions (the .NET Framework is a desktop version only).
3435

35-
Edit and Continue supports most changes you might want to make during a debugging session, but there are some exceptions. Edit and Continue isn't supported when you start debugging using **Attach to Process**. Edit and Continue isn't supported for optimized code or mixed managed and native code. For more information, see [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
36+
Hot Reload supports most changes you might want to make during a debugging session, but there are some exceptions. Hot Reload isn't supported when you start debugging using **Attach to Process**. Hot Reload isn't supported for optimized code or mixed managed and native code. For more information, see [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
3637

37-
## Apply edits in Break Mode with Edit and Continue
38+
## Apply edits in Break Mode with Hot Reload
3839

39-
You can use Edit and Continue to edit your code in Break mode, and then continue without stopping and restarting execution.
40+
You can use Hot Reload to edit your code in Break mode, and then continue without stopping and restarting execution.
4041

4142
To edit code in Break mode:
4243

@@ -57,7 +58,7 @@ To edit code in Break mode:
5758
For more information, see [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
5859

5960
> [!NOTE]
60-
> If you attempt to make a code change that is not allowed by Edit and Continue, your edit will be underlined by a purple wavy line and a task will appear in the Task List. You won't be able to continue code execution unless you undo the illegal code change.
61+
> If you attempt to make a code change that is not allowed by Hot Reload, your edit will be underlined by a purple wavy line and a task will appear in the Task List. You won't be able to continue code execution unless you undo the illegal code change.
6162
6263
3. On the **Debug** menu, click **Continue** to resume execution.
6364

@@ -66,5 +67,5 @@ To edit code in Break mode:
6667
## Related content
6768

6869
- [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md)
69-
- [Edit and Continue](/visualstudio/debugger/how-to-enable-and-disable-edit-and-continue)
70-
- [Configure Edit and Continue](../debugger/how-to-enable-and-disable-edit-and-continue.md)
70+
- [Configure Hot Reload](/visualstudio/debugger/how-to-enable-and-disable-edit-and-continue)
71+
- [Hot Reload settings and options](../debugger/how-to-enable-and-disable-edit-and-continue.md)

docs/debugger/edit-and-continue-visual-cpp.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Edit and Continue in your C++ projects
3-
description: Edit and Continue is available for C++ projects. Learn what edits are supported, and how to can control whether, and when, your edits are applied.
4-
ms.date: "05/31/2018"
2+
title: Hot Reload in your C++ projects
3+
description: Hot Reload (previously called Edit and Continue) is available for C++ projects. Learn what edits are supported and how to control when edits are applied.
4+
ms.date: "03/23/2026"
55
ms.topic: how-to
66
f1_keywords:
77
- "vs.debug.ENC.welcome"
@@ -18,8 +18,9 @@ author: "mikejo5000"
1818
ms.author: "mikejo"
1919
manager: mijacobs
2020
ms.subservice: debug-diagnostics
21+
ms.custom: awp-ai
2122
---
22-
# Edit and Continue (C++)
23+
# Hot Reload (C++)
2324

2425
::: moniker range=">=vs-2022"
2526

@@ -29,7 +30,7 @@ You can use Hot Reload, previously called Edit and Continue, in C++ projects. Fo
2930

3031
The [/Zo (Enhance Optimized Debugging)](/cpp/build/reference/zo-enhance-optimized-debugging) compiler option adds additional information to .pdb (symbol) files for binaries compiled without the [/Od (Disable (Debug))](/cpp/build/reference/od-disable-debug) option.
3132

32-
The `/Zo` option disables Edit and Continue, as described in [How to: Debug Optimized Code](../debugger/how-to-debug-optimized-code.md).
33+
The `/Zo` option disables Hot Reload (formerly called Edit and Continue), as described in [How to: Debug Optimized Code](../debugger/how-to-debug-optimized-code.md).
3334

3435
::: moniker range=">=vs-2022"
3536

@@ -83,15 +84,15 @@ You might want to disable the automatic invocation of Hot Reload if you're makin
8384

8485
## <a name="BKMK_How_to_apply_code_changes_explicitly"></a> Apply code changes explicitly
8586

86-
In C++, Edit and Continue can apply code changes in two ways. Code changes can be applied implicitly, when you choose an execution command, or explicitly, using the **Apply Code Changes** command.
87+
In C++, Hot Reload can apply code changes in two ways. Code changes can be applied implicitly, when you choose an execution command, or explicitly, using the **Apply Code Changes** command.
8788

8889
When you apply code changes explicitly, your program remains in break mode - no execution occurs.
8990

9091
- To apply code changes explicitly, on the **Debug** menu, choose **Apply Code Changes**.
9192

9293
## <a name="BKMK_How_to_stop_code_changes"></a> How to stop code changes
9394

94-
While Edit and Continue is in the process of applying code changes, you can stop the operation.
95+
While Hot Reload is in the process of applying code changes, you can stop the operation.
9596

9697
To stop applying code changes:
9798

@@ -103,17 +104,17 @@ To stop applying code changes:
103104

104105
## <a name="BKMK_How_to_reset_the_point_of_execution"></a> Reset the point of execution
105106

106-
Some code changes can cause the point of execution to move to a new location when Edit and Continue applies the changes. The feature places the point of execution as accurately as possible, but the results might not be correct in all cases.
107+
Some code changes can cause the point of execution to move to a new location when Hot Reload applies the changes. The feature places the point of execution as accurately as possible, but the results might not be correct in all cases.
107108

108109
In C++, a dialog box informs you when the point of execution changes. You should verify that the location is correct before you continue debugging. If it isn't correct, use the **Set Next Statement** command. For more information, see [Set the next statement to execute](./navigating-through-code-with-the-debugger.md#BKMK_Set_the_next_statement_to_execute).
109110

110111
## <a name="BKMK_How_to_work_with_stale_code"></a> Work with stale code
111112

112-
In some cases, Edit and Continue can't apply code changes to the executable immediately, but might be able to apply the code changes later if you continue debugging. This scenario happens if you edit a function that calls the current function or if you add more than 64 bytes of new variables to a function on the call stack.
113+
In some cases, Hot Reload can't apply code changes to the executable immediately, but might be able to apply the code changes later if you continue debugging. This scenario happens if you edit a function that calls the current function or if you add more than 64 bytes of new variables to a function on the call stack.
113114

114115
In such cases, the debugger continues executing the original code until the changes can be applied. The stale code appears as a temporary source file window in a separate source window, with a title such as `enc25.tmp`. The edited source continues to appear in the original source window. If you try to edit the stale code, a warning message appears.
115116

116117
## Related content
117118

118119
- [Supported Code Changes (C++)](../debugger/supported-code-changes-cpp.md)
119-
- [Configure Edit and Continue](../debugger/how-to-enable-and-disable-edit-and-continue.md)
120+
- [Configure Hot Reload](../debugger/how-to-enable-and-disable-edit-and-continue.md)

docs/debugger/edit-and-continue-visual-csharp.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Edit and Continue (Visual C#)"
3-
description: Edit and Continue is available for Visual C# projects. Learn what edits are supported, and how to can control whether, and when, your edits are applied.
4-
ms.date: "02/22/2022"
2+
title: "Hot Reload (Visual C#)"
3+
description: Hot Reload (previously called Edit and Continue) is available for Visual C# projects. Learn what edits are supported, and how to control when edits are applied.
4+
ms.date: "03/23/2026"
55
ms.topic: how-to
66
dev_langs:
77
- "CSharp"
@@ -16,12 +16,13 @@ author: "mikejo5000"
1616
ms.author: "mikejo"
1717
manager: mijacobs
1818
ms.subservice: debug-diagnostics
19+
ms.custom: awp-ai
1920
---
20-
# Edit and Continue (Visual C#)
21+
# Hot Reload (Visual C#)
2122

2223
::: moniker range=">=vs-2022"
2324

24-
With Hot Reload, or Edit and Continue for C#, you can make changes to your code in break or run mode while debugging. The changes can be applied without having to stop and restart the debugging session.
25+
With Hot Reload, previously called Edit and Continue for C#, you can make changes to your code in break or run mode while debugging. The changes can be applied without having to stop and restart the debugging session.
2526

2627
The basic Hot Reload experience works with most types of .NET apps and framework versions. This includes .NET Framework, .NET Core and .NET 5+ (for both C# and Visual Basic as applicable). The expectation in this scenario is that if you’re using the debugger, assume Hot Reload is available to you and give it a try!
2728

@@ -56,19 +57,19 @@ To enable or disable Hot Reload:
5657

5758
The setting takes effect when you start or restart the debugging session.
5859

59-
To use the classic Edit and Continue experience:
60+
To use the legacy Edit and Continue workflow (Hot Reload in break mode):
6061

6162
1. While debugging, in break mode, make a change to your source code.
6263

6364
1. From the **Debug** menu, select **Continue**, **Step**, or **Set Next Statement**. Debugging continues with the new, compiled code.
6465

65-
Some types of code changes aren't supported by Edit and Continue. For more information, see [Supported code changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
66+
Some types of code changes aren't supported by Hot Reload. For more information, see [Supported code changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
6667

6768
::: moniker-end
6869

6970

7071
## Related content
7172

7273
- [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md)
73-
- [Configure Edit and Continue](../debugger/how-to-enable-and-disable-edit-and-continue.md)
74+
- [Configure Hot Reload](../debugger/how-to-enable-and-disable-edit-and-continue.md)
7475
- [Write and debug running XAML code with XAML Hot Reload in Visual Studio](../xaml-tools/xaml-hot-reload.md)

docs/debugger/find-your-debugging-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ sections:
193193
194194
- **Can I edit code during a debugging session?**
195195
196-
Use [Edit and continue](edit-and-continue.md). For XAML, use [XAML Hot Reload](../xaml-tools/xaml-hot-reload.md).
196+
Use [Hot Reload](hot-reload.md), previously called Edit and Continue. For XAML, use [XAML Hot Reload](../xaml-tools/xaml-hot-reload.md).
197197
198198
- **How can I debug on remote machines?**
199199

docs/debugger/hot-reload.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Write and debug code by using Hot Reload"
33
description: Explore the Hot Reload feature, also known as Edit and Continue, and make changes to your code while running applications.
4-
ms.date: 10/02/2025
4+
ms.date: 03/23/2026
55
ms.topic: how-to
66
helpviewer_keywords:
77
- "Hot reload"
@@ -12,10 +12,12 @@ manager: mijacobs
1212
ms.subservice: debug-diagnostics
1313
monikerRange: '>= vs-2022'
1414
zone_pivot_groups: programming-languages-set-two
15-
15+
ms.custom: awp-ai
1616
---
1717
# Write and debug running code with Hot Reload in Visual Studio (C#, Visual Basic, C++)
1818

19+
Hot Reload was previously known as Edit and Continue in Visual Studio documentation and some legacy UI text.
20+
1921
Starting in Visual Studio 2022, the Hot Reload experience in Visual Studio works for both managed .NET and native C++ apps. Regardless of the type of app you’re working on, the intention of Hot Reload is to save you as many app restarts between edits as possible, making you more productive by reducing the time you spend waiting for apps to rebuild, restart, and re-navigate to the previous location where you were in the app itself.
2022

2123
We improve productivity by making it possible for you to edit your application's code files and apply the code changes immediately to the running application, also known as *Hot Reload*. Once your changes are applied, re-execute your code again by taking an action in the app itself (or through some sort of timer, etc.) and see the changes immediately; no pausing of the app through breakpoints is required!
@@ -165,7 +167,12 @@ To enable, disable, or configure Hot Reload, see [Configure Edit and Continue](.
165167

166168
If you see the following dialog box, Hot Reload is unable to apply the current edits without restarting. You can choose either to rebuild the app and apply changes (restart) or to continue editing. If you rebuild, all application state is lost. If you continue editing, it's possible that additional changes or corrections might cause Hot Reload to work again.
167169

168-
![Screenshot of the apply changes dialog box](../debugger/media/vs-2022/dotnet-hot-reload-apply-changes.png)
170+
::: moniker range=">=visualstudio"
171+
![Screenshot of the apply changes dialog box.](../debugger/media/visualstudio/dotnet-hot-reload-apply-changes.png)
172+
::: moniker-end
173+
::: moniker range="=vs-2022"
174+
![Screenshot of the apply changes dialog box.](../debugger/media/vs-2022/dotnet-hot-reload-apply-changes.png)
175+
::: moniker-end
169176

170177
If you select the **Always rebuild when changes can't be applied** option in the dialog box, you won't see the dialog box again in the current Visual Studio session, and Visual Studio will automatically rebuild and reload instead of showing the dialog box.
171178

@@ -179,6 +186,6 @@ If you're using response compression on .NET Core, see the information on [respo
179186

180187
## Related content
181188

182-
* [Edit and Continue (C#)](../debugger/edit-and-continue-visual-csharp.md)
183-
* [Edit and Continue (C++)](../debugger/edit-and-continue-visual-cpp.md)
184-
* [Configure Edit and Continue](../debugger/how-to-enable-and-disable-edit-and-continue.md)
189+
* [Hot Reload (Visual C#)](../debugger/edit-and-continue-visual-csharp.md)
190+
* [Hot Reload (C++)](../debugger/edit-and-continue-visual-cpp.md)
191+
* [Configure Hot Reload](../debugger/how-to-enable-and-disable-edit-and-continue.md)

docs/debugger/how-to-enable-and-disable-edit-and-continue.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Configure Edit and Continue
3-
description: Learn how to enable, disable, and configure Edit and Continue, in Visual Studio Options at design time. Edit and Continue works only in debug builds.
4-
ms.date: 10/31/2025
2+
title: Configure Hot Reload
3+
description: Learn how to enable, disable, and configure Hot Reload (previously called Edit and Continue) in Visual Studio options at design time.
4+
ms.date: 03/23/2026
55
ms.topic: how-to
66
dev_langs:
77
- CSharp
@@ -25,13 +25,14 @@ author: mikejo5000
2525
ms.author: mikejo
2626
manager: mijacobs
2727
ms.subservice: debug-diagnostics
28+
ms.custom: awp-ai
2829
---
2930

30-
# Configure Edit and Continue (C#, VB, C++)
31+
# Configure Hot Reload (C#, VB, C++)
3132

3233
::: moniker range=">=vs-2022"
3334

34-
You can disable or enable Hot Reload, previously called Edit and Continue, from the Visual Studio **Tools** > **Options** menu at design time. **Hot Reload** works only in debug builds. For more information, see [Hot Reload](../debugger/hot-reload.md).
35+
You can disable or enable Hot Reload (previously called Edit and Continue) from the Visual Studio **Tools** > **Options** menu at design time. **Hot Reload** works only in debug builds. For more information, see [Hot Reload](../debugger/hot-reload.md).
3536

3637
For native C++, Hot Reload requires using the `/INCREMENTAL` option. For more information about feature requirements in C++, see this [blog post](https://devblogs.microsoft.com/cppblog/c-edit-and-continue-in-visual-studio-2015-update-3/) and [Edit and Continue (C++)](../debugger/edit-and-continue-visual-cpp.md).
3738

16.8 KB
Loading
31.4 KB
Loading

0 commit comments

Comments
 (0)