Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Edit and Continue

I may very well be the last one to figure this one out, but I always thought that the Edit and Continue option in Visual Studio 2005 and 2008 was a myth. I always made certain that the Enable Edit and Continue check-box was firmly checked, as shown below, but I had never gotten the feature to work.

With that option enabled any time I attempted to alter the code during debug, to add a quick comment or fix a small typo, the dreaded message would pop up, mocking me for not losing that habit.

Only recently I was told that the darn thing works the other way around. I don't know if I'm reading this wrong, but it seems counter-intuitive that un-checking that option enables you to edit the source file during a debug session. I un-checked it and to my shock it worked. I felt that anger of several years of being deprived of that feature boiling inside of me and I had to take a deep breath to avoid a nervous breakdown.

Exaggerations aside, this one goes into my list of why wasn't I told that before along with:


Posted 03-29-2008 5:19 PM by sergiopereira
Filed under: ,

[Advertisement]

Comments

Derik Whittaker wrote re: Edit and Continue
on 03-29-2008 8:52 PM

Let me know if you see any speed issues with this being on.  Once upon a time I had this on and i remember the IDE getting real slow on larger projects.

El Guapo wrote re: Edit and Continue
on 03-30-2008 8:03 AM

Edit and continue means edit the file, recompile it, and continue debugging with the change. The error message is telling you it couldn't do it for whatever reason. When you un-check the box, that DOES mean the feature is disabled. When you edit the file, you are just editing it and there is no "continue". Hope this helps.

Eber Irigoyen wrote re: Edit and Continue
on 03-30-2008 2:50 PM

WOOT!?

DotNetKicks.com wrote Edit and Continue is broken
on 03-31-2008 6:18 AM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Developer K wrote re: Edit and Continue
on 04-24-2008 4:22 PM

Wow. I had the same idea of this that you did! I thought it just didn't work!!

Thanks Sergio!

Roberto wrote re: Edit and Continue
on 05-06-2008 1:55 PM

Unbelievable!

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)