Edit and Continue in ASP.Net

  • Thread starter Thread starter Diane Yocom
  • Start date Start date
D

Diane Yocom

I'm using VS2005 and am trying to get Edit and Continue to work while
debugging. I've gone to the Tools-Options-Debugging dialog box and made
sure "Enable Edit and Continue" is checked, but when I start debugging and
try changing the code, it just ignores any changes I've made. If I add a
new line while debugging and try to step through the code, the debugger just
skips the new line.

Can anyone give me some suggestions?
Thanks!
Diane Y.
 
You must reload the page to see your dynamic changes.
Now that we have edit and continue, you no longer need to restart the
application though.
 
C# and VB.net compilers support edit and continue for window and command
line apps. the asp.net compiler does not. if you read the article you will
see a note:

Note
The Edit and Continue feature of Visual Studio 2005 is not available
for Web applications.



this is because MS was unable to add the feature to asp.net due to
complexity of the problem in the asp.net enviroment. for simular reasons no
support in sqlserver clr routines.

-- bruce (sqlwork.com)
 
Bruce Barker said:
C# and VB.net compilers support edit and continue for window and command
line apps. the asp.net compiler does not. if you read the article you will
see a note:

Note
The Edit and Continue feature of Visual Studio 2005 is not available
for Web applications.



this is because MS was unable to add the feature to asp.net due to
complexity of the problem in the asp.net enviroment. for simular reasons no
support in sqlserver clr routines.

OK, maybe I've missed something here then, but how come I can debug and
change my ASP.NET code? Are we talking about different things here?
Alan Silver said:
He's using VS2005, where edit and continue *is* supported. That article
talks about debugging independently, using the .NET debugger.



[ A UUEncoded file (ms227556.note(en-US,VS.80).gif) was included here. ]
 
Back
Top