Edit and Continue (Visual C#)


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Edit and Continue (Visual C#).

With Edit and Continue for C#, you can make changes to your code in break mode while debugging. The changes can be applied without having to stop and restart the debugging session. In run mode, the source editor is read-only.

Edit and Continue supports most changes you might want to make during a debugging session, but there are some exceptions. For more information, see Supported Code Changes (C#).

Edit and Continue is supported for 64-bit projects that target the .NET Framework 4.5.1.

When Edit and Continue is enabled, supported changes are applied automatically when you use a debugger execution command, such as Continue, Step, Set Next Statement, or perform a function evaluation in a debugger window.

For more information, see How to: Use Edit and Continue (C#).

How to: Use Edit and Continue (C#)
Supported Code Changes (C#)