Edit and Continue is disabled for native code by default. To enable:
- On the Tools menu, click Options.
- In the Options dialog box, open the Debugging node, and select the Edit and Continue category.
- In the Native-only options group, select Enable native Edit and Continue
Edit: Steps to test native Edit and Continue is working:
- Start VS 2013
- Create a new MFC project:
- FILE->New Project->MFC Application->OK.
- Select Finish on the MFC Application Wizard.
- Build and start debugging:
- BUILD->Build Solution
- DEBUG->Start Debugging
- Break into the program:
- DEBUG->Break all
- Make a code change:
- Open OutputWnd.cpp and find COutputWnd::OnSize (Line 80)
- Insert this line at the start of the function:
cx = cx / 2;
- Continue execution:
- DEBUG->Continue
- Resize the application window to see the effect of the code change on the Output pane at the bottom. Its width should be half the required size.