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

Home Posts Topics Members FAQ

C# is getting Edit and Continue in Visual Studio 2005

I've just seen on Eric Gunnerson's blog that C# is getting Edit and Continue in Whidbey. That will please alot of people - although me, I have mixed feelings about it ;-)

http://blogs.msdn.com/ericgu/archive...15/242931.aspx

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
Nov 16 '05 #1
27 2040
Wow thats nice. I have no idea why you have mixed feelings about it.

One of the most painful times to not have edit and continue is when you are
working on a large procedure to migrate a database. I really sucks when you
have to wait two hours until you reach the breakpoint again. LOL

---
Alex Korchemniy
"Richard Blewett [DevelopMentor]" wrote:
I've just seen on Eric Gunnerson's blog that C# is getting Edit and Continue in Whidbey. That will please alot of people - although me, I have mixed feelings about it ;-)

http://blogs.msdn.com/ericgu/archive...15/242931.aspx

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

Nov 16 '05 #2
VB.SMUG has been deprecated :-)

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REM OVETHISTEXTmetr omilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I've just seen on Eric Gunnerson's blog that C# is getting Edit and Continue in Whidbey. That will please alot of people - although me, I have
mixed feelings about it ;-)
http://blogs.msdn.com/ericgu/archive...15/242931.aspx

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

Nov 16 '05 #3
OK, let me be clear that I *do* mean *mixed* feelings. E&C is a useful tool in some scenarios and can really help resolve things like getting the logic the wrong way round in an if, etc then you are debugging a problem. But I have been burned in the past in two ways by it.

1) Writing a bunch of fixes via edit and continue and then the debug session getting trashed so having to close VB and losing all my changes (I know its my fault but E&C has a siren call theat leads you down that path.

2) It is a dangerous tool in the hands of inexperenced developers in that they will keep hacking around in a function in the debugger until it gets the result they want. Whether the function as a result actually fits all test criteria or whether the code is structured in a maintainable form becomes a secondary (or not even considered) issue.

Its nice to get E&C but to be frankly I didn't miss it all that much - you only really miss it if it is one of the main features of how you write code, and from a C++ background primarily it never was for me (I know C++ had E&C from version 6 but frankly I think it sucked rocks compared to VB's version.). Test Driven Development to me is a much more powerful thing to have at your disposal - and maybe combined with E&C gives quite a good sweet spot in that if while making changes in a function you break something you'll know pretty quick.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

Wow thats nice. I have no idea why you have mixed feelings about it.

One of the most painful times to not have edit and continue is when you are
working on a large procedure to migrate a database. I really sucks when you
have to wait two hours until you reach the breakpoint again. LOL

---
Alex Korchemniy

Nov 16 '05 #4
"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:uD******** ******@TK2MSFTN GP11.phx.gbl...
1) Writing a bunch of fixes via edit and continue and then the debug session getting trashed so having to close VB and losing all my changes (I
know its my fault but E&C has a siren call theat leads you down that path.

Well, I don't know which model C# will follow, but in VC++, E&C still
requires saving changes to disk before compiling & continuing execution.
2) It is a dangerous tool in the hands of inexperenced developers in that

they will keep hacking around in a function in the debugger until it gets
the result they want.

I don't see this as being a problem with E&C. Bad programmers will
write bad code. E&C helps (good & bad) programmers write code faster.
Therefore, E&C will help bad programmers to write bad code faster. But it
also helps good programmers write good code faster.

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
Nov 16 '05 #5
The point I was making in 2 wasn't about *bad* programmers it was about *inexperienced* programmers. I don't think E&C teaches people good programming practice, although it is a very useful tool in the right hands.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
2) It is a dangerous tool in the hands of inexperenced developers in that

they will keep hacking around in a function in the debugger until it gets
the result they want.

I don't see this as being a problem with E&C. Bad programmers will
write bad code. E&C helps (good & bad) programmers write code faster.
Therefore, E&C will help bad programmers to write bad code faster. But it
also helps good programmers write good code faster.

Nov 16 '05 #6
Nearly any feature can be abused, or misused.

"Richard Blewett [DevelopMentor]" wrote:
The point I was making in 2 wasn't about *bad* programmers it was about *inexperienced* programmers. I don't think E&C teaches people good programming practice, although it is a very useful tool in the right hands.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog
> 2) It is a dangerous tool in the hands of inexperenced developers in that

they will keep hacking around in a function in the debugger until it gets
the result they want.

I don't see this as being a problem with E&C. Bad programmers will
write bad code. E&C helps (good & bad) programmers write code faster.
Therefore, E&C will help bad programmers to write bad code faster. But it
also helps good programmers write good code faster.

Nov 16 '05 #7

"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I've just seen on Eric Gunnerson's blog that C# is getting Edit and
Continue in Whidbey. That will please alot of people - although me, I have
mixed feelings about it ;-)


Ya, annoying, ain't it? :)
Nov 16 '05 #8
I would be more curious in how they "figured out a way to do it". Did they
figure a cheap way to do it? If so, how in general?

--
William Stacey, MVP

"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:#9******** ******@tk2msftn gp13.phx.gbl...
I've just seen on Eric Gunnerson's blog that C# is getting Edit and Continue in Whidbey. That will please alot of people - although me, I have
mixed feelings about it ;-)
http://blogs.msdn.com/ericgu/archive...15/242931.aspx

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog


Nov 16 '05 #9
For the projects I work on it will be a godsend. It may take up to 10
minutes to compile, launch, and get back to where I was in the debugger when
I realized I needed to write ( someBool == true ) instead of ( someBool ==
false).

Like all tools, it can be abused - I don't find that to be a compelling
enough reason to not have the feature.

"Richard Blewett [DevelopMentor]" <ri******@devel op.com> wrote in message
news:uD******** ******@TK2MSFTN GP11.phx.gbl...
OK, let me be clear that I *do* mean *mixed* feelings. E&C is a useful
tool in some scenarios and can really help resolve things like getting the
logic the wrong way round in an if, etc then you are debugging a problem.
But I have been burned in the past in two ways by it.

1) Writing a bunch of fixes via edit and continue and then the debug
session getting trashed so having to close VB and losing all my changes (I
know its my fault but E&C has a siren call theat leads you down that path.

2) It is a dangerous tool in the hands of inexperenced developers in that
they will keep hacking around in a function in the debugger until it gets
the result they want. Whether the function as a result actually fits all
test criteria or whether the code is structured in a maintainable form
becomes a secondary (or not even considered) issue.

Its nice to get E&C but to be frankly I didn't miss it all that much - you
only really miss it if it is one of the main features of how you write
code, and from a C++ background primarily it never was for me (I know C++
had E&C from version 6 but frankly I think it sucked rocks compared to
VB's version.). Test Driven Development to me is a much more powerful
thing to have at your disposal - and maybe combined with E&C gives quite a
good sweet spot in that if while making changes in a function you break
something you'll know pretty quick.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

Wow thats nice. I have no idea why you have mixed feelings about it.

One of the most painful times to not have edit and continue is when you
are
working on a large procedure to migrate a database. I really sucks when
you
have to wait two hours until you reach the breakpoint again. LOL

---
Alex Korchemniy

Nov 16 '05 #10

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

Similar topics

8
1602
by: Rena | last post by:
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?"
2
1367
by: rkbnair | last post by:
In Visual Interdev, the source code can be edited (both clientside and server side) while the application is running. And the changes will still be reflected in the application without the need for restarting. Is it possible in Visual .net development environment?
7
1300
by: News | last post by:
Hi I've been using VS.NET for a while and have become frustrated. In VB6 I could edit code during a debug session then continue. Is there a way to accompish this in VS.NET? It seems odd that the feature would have been removed. Thanks, Chris Dyck
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
1780
by: moonliver | last post by:
You can edit the source files in cs, why cant we do it in vb.net? Or more specifically, how can I get visual studio to not lock the files during run time?
5
3481
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...
4
3018
by: Niklas | last post by:
Hi I have created a new Windows project and the only code I have written is: private void button1_Click(object sender, EventArgs e) { string test = "test"; MessageBox.Show(test); } When I try to do any change I got the message:
4
1725
by: susiedba | last post by:
I don't understand why C# does not support edit and continue; I mean, microsoft access and VB have had this for over a decade now?? http://msdn2.microsoft.com/en-us/library/ba77s56w.aspx Visual Studio Edition Visual Basic C# C++
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
0
9589
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
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,...
1
9997
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
7413
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
6675
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
5309
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
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3965
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

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.