Compartir a través de


How to: Enable and Disable Automatic Invocation of Edit and Continue 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express Edition

No

No

Native

No

Standard Edition

No

No

Native

No

Pro/Team Edition

No

No

Native

No

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

  1. From the Tools menu, click Options.

  2. In the Options dialog box, open the Debugging node, and select the Edit and Continue category.

  3. In the Edit and Continue group, select or clear the Invoked by debug commands check box.

    NoteNote

    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.

  4. 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

Other Resources

Edit and Continue (Visual C++)