How to: Enable and disable Edit and Continue (C#, VB, C++)
You can disable or enable Edit and Continue in the Visual Studio Options dialog box at design time. Edit and Continue works only in debug builds. For more information, see Edit and Continue.
To enable or disable Edit and Continue:
If you're in a debugging session, stop debugging (Debug > Stop Debugging or Shift+F5).
In Tools > Options > (or Debug > Options) > Debugging > General, select Edit and Continue in the right pane.
If IntelliTrace is enabled and you collect both IntelliTrace events and call information, Edit and Continue is disabled. For more information, see IntelliTrace.
For C++ code, make sure Enable Native Edit and Continue is selected, and set the additional options:
Apply changes on continue (Native only)
If selected, Visual Studio automatically compiles and applies code changes when you continue debugging from a break state. Otherwise, you can choose to apply changes using Debug > Apply Code Changes.
Warn about stale code (Native only)
If selected, gives warnings about stale code.