Peter's Gekko

Sponsors

The Lounge

News

Advertisement

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 ?

In a project I'm involved in I have to do some VB.NET. Not really my favourite language but everybody can program in VB. VB has a strange feature, when debugging you cannot edit a single character in the code editor. In C# you can type whatever you want while debugging. Don't expect the running program to update itself, but that's logical (to a C# programmer). Whidbey will have the return of “Edit and Continue” in vb. There you can edit your source and will even see the results immiadeately in the running program. Vb-people are lyrical about that. If you can either edit or run your app in the current vs.net, any change would be more than welcome.

If this is just a setting, would somebody please be so kind to tell me where to change it ?

Peter


Posted 02-11-2004 2:50 PM by pvanooijen

[Advertisement]

Comments

Daniel O'Connell wrote re: Edit and continue ?
on 02-11-2004 12:35 PM
Sure, its in a weird spot
Tools->Options
Click on debugger, Edit and continue, and check "Allow me to edit VB files while debugging"
Chuck snyder wrote re: Edit and continue ?
on 02-11-2004 1:10 PM
Yep, no edit/continue with vb.net.

But just wait, the next release is supposed to have it back. It was just too hard for microsoft to implement in the currrent version
Peter van Ooijen wrote re: Edit and continue ?
on 02-11-2004 1:27 PM
Thanks Daniel,
that's a what I call a hiding place. There they are : "alow me to edit X files for debugging". Default X is true for C# (my linguage franca) versus false for vb (that other language).
I was a little puzzled what "edit and continue" stood for as I wasn't able to edit at all :>
Very hard to implement, no doubt. But who really cares, as long as you can do your editing :?
Peter
Daniel O'Connell wrote re: Edit and continue ?
on 02-11-2004 1:43 PM
Ya, that is a tricky little spot. I only know about it because I managed to screw my vs up one time or another and got editing C# files in the debugger turned off...its maddening I tell ya.

Of course, having it off may help keep me from editing a file in the wrong bloody VS.NET window. I'd actually like a "allow me to edit X files while debugging when X file is in the current solution" option, ;).
Peter van Ooijen wrote re: Edit and continue ?
on 02-12-2004 1:09 AM
Maddening it is !
Eric wrote re: Edit and continue ?
on 06-18-2004 6:20 PM
Great tip... i just wish i could continue!!!

Add a Comment

(required)  
(optional)
(required)  
Remember Me?