Re: website vs web app



On Feb 6, 8:24 am, "Juan T. Llibre" <nomailrepl...@xxxxxxxxxxx> wrote:
re:
!> I am wondering how to make editing possible while I debug
!> a WAP project, that is, edit without stopping the debugger.

That is called "edit and continue"...and you must, specifically, enable it to be able to use it.

There's specific instructions/options here :http://msdn.microsoft.com/en-us/library/6wzw9e0y.aspx
...but, basically, from the VS IDE, open the Tools menu and select Options.

In the Options dialog box, expand the Debugging folder,
select Edit and Continue and set the options you want.

Please read the security caution on that page before you enable remote debugging.

Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
=========================

Yeah, I know about "Edit and Continue", but it never works like what I
want.

1) If I keep Edit and Continue checked, in debugging mode, then if I
try to change the source code, I get an error popup which says:

"Changes are not allowed when the debugger has been attached to an
already running process or the code being debugged is optimized".

which I don't quite understand.

2) If I uncheck "Edit and Continue", in debugging mode, I can indeed
change the source code, but the change will not take effect unless you
stop the debugger and restart it, such "flexibility" really doesn't
make any sense.

I googled and see a lot of people having this problem, and so far I
haven't found any nice solution that lets me Edit and Continue like in
the Website project mode.

I am close to concluding that in the Web application project mode, the
kind of Edit and Continue like most people want just isn't possible.
I would be more than happy to be corrected. :-)
.



Relevant Pages

  • Re: Debugging Lisp code (stupid newbie question)
    ... > My first reaction to this is, "You mean I have to edit my source and ... You can, but often you might just edit the code, *evaluate* the new ... I have to recompile my code to do that? ... This absolutely could happen if this is how you were debugging. ...
    (comp.lang.lisp)
  • Re: website vs web app
    ... If I uncheck "Edit and Continue", in debugging mode, I can indeed change the source code, ... If I keep Edit and Continue checked, in debugging mode, then if I ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: website vs web app
    ... I am wondering how to make editing possible while I debug ... That is called "edit and continue"...and you must, specifically, enable it to be able to use it. ... Please read the security caution on that page before you enable remote debugging. ... With WAP, you can choose whether a single assembly, or more assemblies, is/are compiled. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS 2005 Using 100 percent CPU cycles
    ... I don't use edit and continue so I'm not sure it's ... Would you please tell me whether this problem persists to any particular ... debugging and "edit and continue" in VS2005. ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • Edit source code while debugging 64 bit in VS
    ... Why can't I edit the source code while debugging in the 64bit edition of VS but can in 32 bit? ... Tem ...
    (microsoft.public.dotnet.languages.csharp)

Loading