473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

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 1583
On Sun, 5 Dec 2004 14:18:49 +0800, Rena <Re**@mail.com> 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_spam_4_meyahoo.com> ???
news:op**************@cowboy.ce1.client2.attbi.com ???...
On Sun, 5 Dec 2004 14:18:49 +0800, Rena <Re**@mail.com> 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.com> wrote in message
news:%2****************@tk2msftngp13.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.net> wrote in message
news:e%****************@TK2MSFTNGP11.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.com> wrote in message
news:%2****************@tk2msftngp13.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.com/weblog/jpalermo> ¦b¶l¥ó
news:et**************@TK2MSFTNGP09.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.net> wrote in message
news:e%****************@TK2MSFTNGP11.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.com> wrote in message
news:%2****************@tk2msftngp13.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_eye_you_see.edu> wrote in message
news:Oh**************@TK2MSFTNGP10.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.net> wrote in message
news:un**************@TK2MSFTNGP10.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_eye_you_see.edu> wrote in message
news:Oh**************@TK2MSFTNGP10.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
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...
46
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...
7
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...
4
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
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...
5
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...
59
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
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...
6
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...
5
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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.