Click to See Complete Forum and Search --> : Edit and Continue under VC2005


surfdabbler2
July 27th, 2005, 02:03 AM
I have ported a project to VC++ 2005 (beta 1), and I can no longer use the edit and continue functionality when debugging. This is a REAL PITA!

When I change code, and try to E&C, it just tells me the source code no longer matches the EXE, and would I like to use the existing source file anyway... but it doesn't recompile.

I have checked the Tools->Options->Debugging, and E&C is enabled, so the problem's not there. I have read that E&C is not possible with managed code, but I am not using managed code. However, I did some mucking around when creating the project, and added a Windows Form to the project. This Windows Form has since been removed from the project, and as far as I can see, the compiler options are set back to disable the /clr option, but I still can't get E&C.

Anyone got any ideas on where I should check to re-enable E&C capability?

Any help would be appreciated.

Andy Tacker
July 27th, 2005, 03:59 AM
moved to general developer...

try to play aroung with IDE's Tools -> Options -> debugging...

surfdabbler2
July 27th, 2005, 06:52 AM
Hmmm, took me 10 minutes to find my post in the different area...

Yep, I checked all the settings in Tools->Options->Debugging.

It turned out the project settings for the Debug Information Format had been reset to disable E&C. I've re-enabled that, and now whenever I make code changes, it the build output shows "Project : error PRJ0046 : Could not spawn command line because the one specified was empty."

I'm coming to the conclusion that VC2005 Beta 2 has many many bugs. It has also crashed about 20 times in the last hour, and passing pointers between functions is getting totally different values in the called function. Grrrrr, frustrating... Maybe I'll throw it in until it's a proper release version.