Edit & Continue not working at all

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Ive recently converted our fairly large vs2003 project over to 2005, and so far have been totally unable to get Edit and Continue working at all.  This is true both in vanilla 2005 and SP1.  My debugging mode is set to Native Only.

Ive got E&C enabled in my Tools->Options settings.  Im compiling with the /ZI flag and linking with debug info.  Ive get no warnings or errors referencing E&C either during compliation or link.  Ive read the included documentation and followed all the instructions.

But when I hit a breakpoint and modify code, the "Apply code changes" option is greyed out.  And if I step through my code, I get a "This source file has changed.  It no longer matches the version of the file used to build the application being debugged" popup.  So its recognizing that the code has changed, but silently failing to even consider doing an E&C.

Pretty frustrating.  Anyone seen this before or have any suggestions?


View the full article
 
Back
Top