共用方式為


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

See Also

Tasks

How to: Use Edit and Continue (C#)

Reference

Supported Code Changes (C#)