Recently converted our projects over to 2012 from 2010 (winapi/desktop/c++/32bit).
And now the “Apply Code Changes” button seems to remain disabled. Similarly, when I make a change to the source I’m currently debugging, my breakpoints go white (meaning not enabled due to source mismatch).
I’ve not changed the project settings explicitly, but I have verified that this is a debug build, that “incremental linking” is enabled.
There is a setting I’m unfamiliar with that is blank “create hot patchable image”, but I’m not sure if that is related to debug edit & continue or not (the MSDN for it is unclear, whereas the incremental linking is quite clear that it is required. [UPDATE: this has nothing to do with it]
Anyone know what is required in 2012 to fully enable edit & continue in 2012 for C++ (NOT managed – ordinary C++)?
Some extra info: Desktop GUI .exe target, statically linked to MFC and CRT. Unicode. All libraries double-checked for debug, incremental linking, and program database for edit & continue.
Try starting over by deleting everything in the Debug folder and all generated files, do a “Build/Clean Solution” and “Rebuild All.”
EDIT: As a last resort, try reading the documentation: http://msdn.microsoft.com/en-us/library/esaeyddf.aspx Try/Tools/Options/Debugging/Edit and Continue/Ask Me First
Quick Answer:
+ Tools
++ Options
+++ Debugging
++++ Edit and Continue
+++++ Native-only options
++++++ Enable native Edit and Continue <- Set this