共用方式為


Edit and Continue (Visual C#)

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

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#).

See Also

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