Edit and Continue

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Edit and Continue is a time-saving feature that enables you to make changes to your source code while your program is in break mode. When you resume execution of the program by choosing an execution command like Continue or Step, Edit and Continue automatically applies the code changes with some limitations. This allows you to make changes to your code during a debugging session, instead of having to stop, recompile your entire program, and restart the debugging session.

This section includes the following topics:

How to: Apply Code Changes Explicitly

How to: Enable and Disable Edit and Continue

How to: Stop Code Changes

Point of Execution

Edit and Continue (Visual C++)

Edit and Continue (Visual C#)

Edit and Continue (Visual Basic)

Edit and Continue Not Supported for F#

See Also

Debugger Security
Edit and Continue, Debugging, Options Dialog Box
Debugger Basics