CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    90

    Question Edit and Continue under VC2005

    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.

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: Edit and Continue under VC2005

    moved to general developer...

    try to play aroung with IDE's Tools -> Options -> debugging...
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

  3. #3
    Join Date
    Mar 2005
    Posts
    90

    Re: Edit and Continue under VC2005

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured