edit & continue

Hello,

I converted all my projects from VC7.0, but in VC8.0 edit & continue don't work anymore. Allways when I try to change code while debugging, independent of my changes, I get the following dialobgox

Edit and Continue

Edits were made which cannot be compiled

Click Edit to fix the code

Click Stop to stop debugging

Click ignore to continue without applying the edits

 

Any Ideas

Greetings

Markus

 

 




Answer this question

edit & continue

  • Rashid Farooq

    Can anyone reproduce this with a simple test project I've tried with a wizard generated VC6.0 project and converted, and edit-and-continue worked fine in VC 2005. If so please upload it somewhere,

    Ted.


  • Whatonly

    Is that still an issue

    Thanks,
    Ayman Shoukry
    VC++ Team


  • bat313

    Hi,

    we use templates, but not more than the version, which is compiled under VC7.0

    In Output window I get the following message:

    -------- Edit and Continue build started --------

    Project : error PRJ0046 : Could not spawn command line because the one specified was empty.

    --------------------- Done ----------------------



  • drourke

    Hello, has there been any resolution of this problem. I see it also on a project converted from VC6.0 -- thanks -- Keith
  • objectref

    I am able to reproduce this problem by creating and running a simple wizard generated mfc app on a mapped drive. This is the error when I try to apply a code change:

    -------- Edit and Continue build started --------

    Project : error PRJ0046 : Could not spawn command line because the one specified was empty.

    --------------------- Done ----------------------

     If I load the solution from the original location, not the mapped drive, edit and continue works fine.



  • Shivakumara V

    Hi Ayman,

    in a short word, YES.

    Maybe a little more info. We write AddOns for AutoCAD, so we start AutoCAD with the debugger, but that is no debug version. Our programs are *.DLL (but in ACAD named *.ARX and *.DBX) which are dynamically loaded at runtime. Maybe that has an effect

    Greetings from Germany

    Markus



  • cb1024

    Are there any outputs in the build window I have problems when a lot of templating is used in a source file. In this situations sometime edit&continue don't work but I get some messages in the build window.

  • Carlobas

    Every single project we've converted from VS2002 (you know the _really_ buggy one) get's this.

    -------- Edit and Continue build started --------

    Project : error PRJ0046 : Could not spawn command line because the one specified was empty.

    --------------------- Done ----------------------

    P.S. Side-by-side Assemblies, manifests and deployment projects was not a welcome addition for us either. What used to be so simple just got a lot more complicated.


  • RGIMatt

    Please log a bug at http://lab.msdn.microsoft.com/productfeedback/default.aspx so that the owners would take a look. Please make sure to include a sample reproducing the issue.

    Thanks in advance for taking the time to log the issue!

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Ryan98034

    I just tried it and you're absolutely correct, this happened for me too.  Edit and continue does not work on a project located on a mapped drive. 

    I noticed someone reported it at

    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=45ca7443-d237-436e-a1a9-d19fa5f12d18

    I'll update it with more information.

    Try to get them to make a hotfix for it, so then it will be more likely that it will get included in SP1.


  • M HOWELL

    I see the same thing. I had my project on a mapped drive earlier and was not able to do edit and continue. Moved it later to a non-mapped drive and it worked. Did not realize at the time that it was the drive mapping that was causing the problem.
  • dfad44Kyle

    The bug item has been updated - not sure why they can't reproduce this problem - can anyone here NOT reproduce this I can reproduce this on a clean XP machine following the instructions I gave in the comments in the bug item link mentioned above. Can some more people post comments on this bug if they can reproduce

    Thanks


  • edit & continue