Export (0) Print
Expand All

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

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.

To enable or disable automatic invocation of Edit and Continue

  1. On 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.

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

  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.

© 2014 Microsoft