473,756 Members | 6,482 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

edit and continue

Hi all,
I am now using VS Net 2003, but i found that i need to restart the web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web app
b4 to make my code changes effective b4 when i am using VS 2000 or 2003 (i
forget which version, I had used b4)

My question is "How can I make code changes without restart my web app. in
debug mode?"

thanks a lot.
Rena
Nov 19 '05 #1
8 1601
On Sun, 5 Dec 2004 14:18:49 +0800, Rena <Re**@mail.co m> wrote:
Hi all,
I am now using VS Net 2003, but i found that i need to restart the
web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web
app
b4 to make my code changes effective b4 when i am using VS 2000 or 2003
(i
forget which version, I had used b4)

My question is "How can I make code changes without restart my web app.
in
debug mode?"

thanks a lot.
Rena


Do you mean by restart the app: to have to stop and restart debugging? If
so, you can't edit/recompile code while running in debug mode in VS.NET.
However, if you are not in debug mode (start via Ctrl + F5 instead), you
can edit the code, etc. and just refresh the page....

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 19 '05 #2
Hi Craig,
I mean:
1. given that i want to go into debug mode to trace some bugs.
2. some codes will be modified
3. after modification of code [i still didn't stop the debug mode], i
want to test my code.
4. [VS prompt and ask me to restart again to make my changes effective,
that's i need to stop the application and restart it again on VS.

i would like to know if i can do step 4 without restarting while i could
still continue debug my application.
[as it take quite a while to restart]

"Craig Deelsnyder" <cdeelsny@no_sp am_4_meyahoo.co m> ???
news:op******** ******@cowboy.c e1.client2.attb i.com ???...
On Sun, 5 Dec 2004 14:18:49 +0800, Rena <Re**@mail.co m> wrote:
Hi all,
I am now using VS Net 2003, but i found that i need to restart the
web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web
app
b4 to make my code changes effective b4 when i am using VS 2000 or 2003
(i
forget which version, I had used b4)

My question is "How can I make code changes without restart my web app.
in
debug mode?"

thanks a lot.
Rena


Do you mean by restart the app: to have to stop and restart debugging? If
so, you can't edit/recompile code while running in debug mode in VS.NET.
However, if you are not in debug mode (start via Ctrl + F5 instead), you
can edit the code, etc. and just refresh the page....

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 19 '05 #3
There is no edit and continue in Visual Studio.NET 1.x.

For this functionality you'll have to wait for Visual Studio 2005.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi all,
I am now using VS Net 2003, but i found that i need to restart the
web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web app
b4 to make my code changes effective b4 when i am using VS 2000 or 2003 (i
forget which version, I had used b4)

My question is "How can I make code changes without restart my web app. in
debug mode?"

thanks a lot.
Rena

Nov 19 '05 #4
Rena,
Steve is correct that edit and continue will not be available until VS
2005. I can identify with the delay when restarting a web app if you are
pressing F5 to start debugging. To get around this, I keep my browser open
to my web application, and instead of pressing play or F5, I go to the Debug
menu and click Process. . . then I select aspnet_wp with WinXP or w3wp with
Server 2003. This will attach the VS.NET debugger to the ASP.NET process.
Then I go back to my browser, refresh my page, and it takes less time to
execute. I keep the debugger attached, and I can make small changes to my
web app and press Ctrl + Shift + B to rebuild and go back to my browser.
There is a small delay as the application actually does restart, but it
doesn't take as much time as pressing F5 every time.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:e%******** ********@TK2MSF TNGP11.phx.gbl. ..
There is no edit and continue in Visual Studio.NET 1.x.

For this functionality you'll have to wait for Visual Studio 2005.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi all,
I am now using VS Net 2003, but i found that i need to restart the
web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web app b4 to make my code changes effective b4 when i am using VS 2000 or 2003 (i forget which version, I had used b4)

My question is "How can I make code changes without restart my web app. in debug mode?"

thanks a lot.
Rena


Nov 19 '05 #5
Thanks a lot Steve, Jeffrey and Craig for your information and helps :)

"Jeffrey Palermo [MCP]" <http://dotnetjunkies.c om/weblog/jpalermo> ¦b¶l¥ó
news:et******** ******@TK2MSFTN GP09.phx.gbl ¤¤¼¶¼g...
Rena,
Steve is correct that edit and continue will not be available until VS
2005. I can identify with the delay when restarting a web app if you are
pressing F5 to start debugging. To get around this, I keep my browser open to my web application, and instead of pressing play or F5, I go to the Debug menu and click Process. . . then I select aspnet_wp with WinXP or w3wp with Server 2003. This will attach the VS.NET debugger to the ASP.NET process.
Then I go back to my browser, refresh my page, and it takes less time to
execute. I keep the debugger attached, and I can make small changes to my
web app and press Ctrl + Shift + B to rebuild and go back to my browser.
There is a small delay as the application actually does restart, but it
doesn't take as much time as pressing F5 every time.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:e%******** ********@TK2MSF TNGP11.phx.gbl. ..
There is no edit and continue in Visual Studio.NET 1.x.

For this functionality you'll have to wait for Visual Studio 2005.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Rena" <Re**@mail.co m> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi all,
I am now using VS Net 2003, but i found that i need to restart the web
app. once i edit my code.
correct me if i remembered wrongly, as I do not need to restart my web app b4 to make my code changes effective b4 when i am using VS 2000 or
2003
(i forget which version, I had used b4)

My question is "How can I make code changes without restart my web
app.
in debug mode?"

thanks a lot.
Rena



Nov 19 '05 #6
Steve C. Orr [MVP, MCSD] < St***@Orr.net > wrote:
There is no edit and continue in Visual Studio.NET 1.x.
For this functionality you'll have to wait for Visual Studio 2005.


Also note, 2005 will NOT include edit & continue for ASP.NET apps. Pretty
sad considering ASP.NET developers are a majority of .NET developers in
general.

http://www.aspnetpro.com/opinion/200...200406jg_o.asp
Nov 19 '05 #7
From what I've heard from reliable sources lately is that ASP.NET 2.0 will
partially support edit and continue.
You can break in the middle of a page request and make a code change.
You then must refresh the page (which kinda sucks) but you don't have to
restart the entire web application (which is an improvement.)

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Jeff Evans" <jwevans1@you_e ye_you_see.edu> wrote in message
news:Oh******** ******@TK2MSFTN GP10.phx.gbl...
Steve C. Orr [MVP, MCSD] < St***@Orr.net > wrote:
There is no edit and continue in Visual Studio.NET 1.x.
For this functionality you'll have to wait for Visual Studio 2005.


Also note, 2005 will NOT include edit & continue for ASP.NET apps. Pretty
sad considering ASP.NET developers are a majority of .NET developers in
general.

http://www.aspnetpro.com/opinion/200...200406jg_o.asp

Nov 19 '05 #8
That's true. This is because of dynamic compiling of the code-behind pages.
No longer will all the code-behind be compiled into a .dll which drops into
the shadow copy directory (which triggers an AppDomain reload), but just one
of the temporary assemblies generated by the compiling of your single code
file that was modified will be replaced, so your page will have to restart,
but your AppDomain won't have to be reloaded (which is what takes several
seconds).

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:un******** ******@TK2MSFTN GP10.phx.gbl...
From what I've heard from reliable sources lately is that ASP.NET 2.0 will
partially support edit and continue.
You can break in the middle of a page request and make a code change.
You then must refresh the page (which kinda sucks) but you don't have to
restart the entire web application (which is an improvement.)

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net

"Jeff Evans" <jwevans1@you_e ye_you_see.edu> wrote in message
news:Oh******** ******@TK2MSFTN GP10.phx.gbl...
Steve C. Orr [MVP, MCSD] < St***@Orr.net > wrote:
There is no edit and continue in Visual Studio.NET 1.x.
For this functionality you'll have to wait for Visual Studio 2005.


Also note, 2005 will NOT include edit & continue for ASP.NET apps. Pretty sad considering ASP.NET developers are a majority of .NET developers in
general.

http://www.aspnetpro.com/opinion/200...200406jg_o.asp


Nov 19 '05 #9

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
4242
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
1776
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
3863
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...
5
3480
by: Diane Yocom | last post by:
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...
59
2909
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
2420
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
9462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9287
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
9722
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
7259
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
6542
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
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.