I have just upgraded my fairly large MFC application from VS2008 to VS2013 Professional. After some minor tweaks everything works except Edit and Continue. E.g. after breaking, I change a code line "x=2" to "x=1" where x is a local variable. On continuing I get the following error:
"A global or static variable was added, renamed, removed, or changed data type or initialization: ___ImageBase (referenced by: c:\temp\vs2013 (2014_12_20)\process\debug\jlglob.obj)"
To get EnC to work at all I had to go to Tools->Debugging->Edit and Continue, and enable "Enable native Edit and Continue". I am not sure what this does, but without it checked all I ever got was a warning saying "The source file has changed..." but it made no attempt to recompile.
I have checked the obvious settings:
disabled all optimisation
set "Program Database for Edit and Continue /ZI"
not using Precompiled Headers
/SAFESH:NO
Platform Toolset - Visual Studio 2013 (v120)
WinVer = 0x0601
I have deleted all intermediate file directories, including .tlog files.
It was a clean installation of VS2013, not taking the settings from the VS2008 installation. Any idea what the problem could be?