Comparteix a través de


Edit code and continue Debugging in Visual Studio (C#, VB, C++)

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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: Enable and Disable Edit and Continue

How to: Stop Code Changes

Edit and Continue (C++)

Edit and Continue (Visual C#)

Edit and Continue (Visual Basic)

Edit and Continue Not Supported for F#

See also