How to: Enable and Disable Automatic Invocation of Edit and Continue
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
You can disable the automatic invocation of Edit and Continue (invocation by the Continue, Go, and Step commands). You might do this if you are making edits to the code that you do not want applied during the current debugging session. You can also re-enable the automatic invocation of Edit and Continue.
Procedures
To enable or disable automatic invocation of Edit and Continue
On the Tools menu, click Options.
In the Options dialog box, open the Debugging node, and select the Edit and Continue category.
In the Edit and Continue group, select or clear the Invoked by debug commands check box.
Note
You can also have the debugger ask you before applying code changes prior to a debug command. If you want to be asked, select the Ask me first check box.
Click OK.
Because Invoked by debug commands is a tools option, altering this setting affects all projects you work on. You do not need to rebuild your application after changing this setting. You can change the setting even while debugging. If you build your application from the command line or from a Makefile, but debug in the Visual C++ environment, you can still use Edit and Continue if you set the /ZI option.
See Also
Reference
Edit and Continue, Debugging, Options Dialog Box