473,769 Members | 7,650 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Edit and Continue in ASP.Net

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.
Jun 29 '06 #1
5 3480
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.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Diane Yocom" <di*********@re movethis.seattl e.gov> wrote in message
news:eF******** ******@TK2MSFTN GP04.phx.gbl...
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.

Jun 29 '06 #2
edit and continue is not supported by asp.net

http://msdn2.microsoft.com/en-us/library/ms227556.aspx

-- bruce (sqlwork.com)
"Diane Yocom" <di*********@re movethis.seattl e.gov> wrote in message
news:eF******** ******@TK2MSFTN GP04.phx.gbl...
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.

Jun 29 '06 #3
In article <ee************ *@TK2MSFTNGP03. phx.gbl>, "bruce barker
(sqlwork.com)" <b_************ *************@s qlwork.comwrite s
>edit and continue is not supported by asp.net

http://msdn2.microsoft.com/en-us/library/ms227556.aspx
He's using VS2005, where edit and continue *is* supported. That article
talks about debugging independently, using the .NET debugger.
>"Diane Yocom" <di*********@re movethis.seattl e.govwrote in message
news:eF******* *******@TK2MSFT NGP04.phx.gbl.. .
>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.

--
Alan Silver
(anything added below this line is nothing to do with me)
Jul 6 '06 #4
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)

"Alan Silver" <al*********@no spam.thanx.inva lidwrote in message
news:6r******** ******@nospamth ankyou.spam...
In article <ee************ *@TK2MSFTNGP03. phx.gbl>, "bruce barker
(sqlwork.com)" <b_************ *************@s qlwork.comwrite s
>>edit and continue is not supported by asp.net

http://msdn2.microsoft.com/en-us/library/ms227556.aspx

He's using VS2005, where edit and continue *is* supported. That article
talks about debugging independently, using the .NET debugger.
>>"Diane Yocom" <di*********@re movethis.seattl e.govwrote in message
news:eF****** ********@TK2MSF TNGP04.phx.gbl. ..
>>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.


--
Alan Silver
(anything added below this line is nothing to do with me)

Jul 7 '06 #5
In article <ur************ *@TK2MSFTNGP05. phx.gbl>, Bruce Barker
<no**********@s qlwork.comwrite s
>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" <al*********@no spam.thanx.inva lidwrote in message
news:6r******* *******@nospamt hankyou.spam...
>In article <ee************ *@TK2MSFTNGP03. phx.gbl>, "bruce barker
(sqlwork.com )" <b_************ *************@s qlwork.comwrite s
>>>edit and continue is not supported by asp.net

http://msdn2.microsoft.com/en-us/library/ms227556.aspx

He's using VS2005, where edit and continue *is* supported. That article
talks about debugging independently, using the .NET debugger.
>>>"Diane Yocom" <di*********@re movethis.seattl e.govwrote in message
news:eF***** *********@TK2MS FTNGP04.phx.gbl ...
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.

--
Alan Silver
(anything added below this line is nothing to do with me)

[ A UUEncoded file (ms227556.note( en-US,VS.80).gif) was included here. ]
--
Alan Silver
(anything added below this line is nothing to do with me)
Jul 10 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2567
by: Andrew Brampton | last post by:
Hi, I read a few months back that Edit & Continue was going to be added to VS2003 for C# and the other .Net languages... However I'm sitting in front of my newly installed Visual Studio 2003 and Edit & Continue seems to not work still :( Can someone confirm if Edit & Continue doesn't work... and if it doesn't why doesn't it, and when will it start working? Thanks
46
4255
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do believe MSFT should do to improve C#, however. I know that in the "Whidbey" release of VS.NET currently
7
1779
by: Wim Bonjean | last post by:
Hi, I recently was at the MS dev days and some speaker mentioned that there is a cool feature that allows edit/continue, so you can debug, edit and continue without recompiling. But, this feature was only for VB, because the development team thinks that c# developers aren't interested in such a feature. DUH! Offcourse we are, right?
4
3864
by: WayneM | last post by:
Is there a Edit and Continue capability in VB.NET yet? I realize it may not be the same as VB6, but I thought there was going to be some form of this? Thanks for any info, WayneM
2
4906
by: Oenone | last post by:
I am developing an assembly that can be used either by a Windows Forms application or from within an ASP.NET web site. When running within the Forms app, I can break into the code while it is running and use edit-and-continue to modify the sourcecode and then immediately execute the modifications. When running within the web site, the source-code is all read-only when I break into it. The little padlock icon appears in the tab for each...
59
2910
by: Jeremy | last post by:
Is a worthwhile feature? I've lived just fine without it for years... don't see much value in using it. Am I missing something? Thanks!
0
1224
by: Brett Romero | last post by:
For what ever reason, edit and continue isn't working any more. Now I get this message: Edit and Continue Changes are not allowed if the source code on disk does not match the code running in the process. Files in this project can be edited while you are debugging if Edit and Continue is turned off. I also notice the Edit and Continue option is grayed out in options.
6
2421
by: Gianluca Pezzoli | last post by:
I have used edit And Continue for months in Winforms applications with VS 2005 TeamEdition x Software Developers. I have windows vista with all updates. Also VS has all available updates. But in the last 2/3 weeks edit and continue has stopped working. I have used (to test it) a project as described in http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/EditContinue.htm
5
2158
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone give a hand? Has MS fixed this in VS 2005? Is is fixed in VS 2008? Thanks, ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10048
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9996
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.