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/debugger/edit-and-continue-visual-basic.md
+14-13Lines changed: 14 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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"
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- "CSharp"
@@ -18,25 +18,26 @@ author: "mikejo5000"
18
18
ms.author: "mikejo"
19
19
manager: mijacobs
20
20
ms.subservice: debug-diagnostics
21
+
ms.custom: awp-ai
21
22
---
22
-
# Edit and Continue (Visual Basic)
23
+
# Hot Reload (Visual Basic)
23
24
24
25
::: moniker range=">=vs-2022"
25
26
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.
26
27
::: moniker-end
27
28
28
29
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.
30
31
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.
32
33
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).
34
35
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).
36
37
37
-
## Apply edits in Break Mode with Edit and Continue
38
+
## Apply edits in Break Mode with Hot Reload
38
39
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.
40
41
41
42
To edit code in Break mode:
42
43
@@ -57,7 +58,7 @@ To edit code in Break mode:
57
58
For more information, see [Supported Code Changes (C# and Visual Basic)](../debugger/supported-code-changes-csharp.md).
58
59
59
60
> [!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.
61
62
62
63
3. On the **Debug** menu, click **Continue** to resume execution.
63
64
@@ -66,5 +67,5 @@ To edit code in Break mode:
66
67
## Related content
67
68
68
69
-[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)
Copy file name to clipboardExpand all lines: docs/debugger/edit-and-continue-visual-cpp.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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"
5
5
ms.topic: how-to
6
6
f1_keywords:
7
7
- "vs.debug.ENC.welcome"
@@ -18,8 +18,9 @@ author: "mikejo5000"
18
18
ms.author: "mikejo"
19
19
manager: mijacobs
20
20
ms.subservice: debug-diagnostics
21
+
ms.custom: awp-ai
21
22
---
22
-
# Edit and Continue (C++)
23
+
# Hot Reload (C++)
23
24
24
25
::: moniker range=">=vs-2022"
25
26
@@ -29,7 +30,7 @@ You can use Hot Reload, previously called Edit and Continue, in C++ projects. Fo
29
30
30
31
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.
31
32
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).
33
34
34
35
::: moniker range=">=vs-2022"
35
36
@@ -83,15 +84,15 @@ You might want to disable the automatic invocation of Hot Reload if you're makin
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.
87
88
88
89
When you apply code changes explicitly, your program remains in break mode - no execution occurs.
89
90
90
91
- To apply code changes explicitly, on the **Debug** menu, choose **Apply Code Changes**.
91
92
92
93
## <aname="BKMK_How_to_stop_code_changes"></a> How to stop code changes
93
94
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.
95
96
96
97
To stop applying code changes:
97
98
@@ -103,17 +104,17 @@ To stop applying code changes:
103
104
104
105
## <aname="BKMK_How_to_reset_the_point_of_execution"></a> Reset the point of execution
105
106
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.
107
108
108
109
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).
109
110
110
111
## <aname="BKMK_How_to_work_with_stale_code"></a> Work with stale code
111
112
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.
113
114
114
115
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.
Copy file name to clipboardExpand all lines: docs/debugger/edit-and-continue-visual-csharp.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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"
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- "CSharp"
@@ -16,12 +16,13 @@ author: "mikejo5000"
16
16
ms.author: "mikejo"
17
17
manager: mijacobs
18
18
ms.subservice: debug-diagnostics
19
+
ms.custom: awp-ai
19
20
---
20
-
# Edit and Continue (Visual C#)
21
+
# Hot Reload (Visual C#)
21
22
22
23
::: moniker range=">=vs-2022"
23
24
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.
25
26
26
27
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!
27
28
@@ -56,19 +57,19 @@ To enable or disable Hot Reload:
56
57
57
58
The setting takes effect when you start or restart the debugging session.
58
59
59
-
To use the classic Edit and Continue experience:
60
+
To use the legacy Edit and Continue workflow (Hot Reload in break mode):
60
61
61
62
1. While debugging, in break mode, make a change to your source code.
62
63
63
64
1. From the **Debug** menu, select **Continue**, **Step**, or **Set Next Statement**. Debugging continues with the new, compiled code.
64
65
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).
66
67
67
68
::: moniker-end
68
69
69
70
70
71
## Related content
71
72
72
73
-[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)
74
75
-[Write and debug running XAML code with XAML Hot Reload in Visual Studio](../xaml-tools/xaml-hot-reload.md)
Copy file name to clipboardExpand all lines: docs/debugger/hot-reload.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Write and debug code by using Hot Reload"
3
3
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
5
5
ms.topic: how-to
6
6
helpviewer_keywords:
7
7
- "Hot reload"
@@ -12,10 +12,12 @@ manager: mijacobs
12
12
ms.subservice: debug-diagnostics
13
13
monikerRange: '>= vs-2022'
14
14
zone_pivot_groups: programming-languages-set-two
15
-
15
+
ms.custom: awp-ai
16
16
---
17
17
# Write and debug running code with Hot Reload in Visual Studio (C#, Visual Basic, C++)
18
18
19
+
Hot Reload was previously known as Edit and Continue in Visual Studio documentation and some legacy UI text.
20
+
19
21
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.
20
22
21
23
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](.
165
167
166
168
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.
167
169
168
-

170
+
::: moniker range=">=visualstudio"
171
+

172
+
::: moniker-end
173
+
::: moniker range="=vs-2022"
174
+

175
+
::: moniker-end
169
176
170
177
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.
171
178
@@ -179,6 +186,6 @@ If you're using response compression on .NET Core, see the information on [respo
179
186
180
187
## Related content
181
188
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)
Copy file name to clipboardExpand all lines: docs/debugger/how-to-enable-and-disable-edit-and-continue.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
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
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- CSharp
@@ -25,13 +25,14 @@ author: mikejo5000
25
25
ms.author: mikejo
26
26
manager: mijacobs
27
27
ms.subservice: debug-diagnostics
28
+
ms.custom: awp-ai
28
29
---
29
30
30
-
# Configure Edit and Continue (C#, VB, C++)
31
+
# Configure Hot Reload (C#, VB, C++)
31
32
32
33
::: moniker range=">=vs-2022"
33
34
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).
35
36
36
37
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).
0 commit comments