Groups | Blog | Home
all groups > visual studio .net debugging > december 2004 >

visual studio .net debugging : Edit and continue rarely ever works...



JP.Sklenka
12/21/2004 3:49:04 PM
Edit and Continue will be available in Visual Studio 2005.

[quoted text, click to view]
OrbitalTug
12/21/2004 11:19:12 PM
Hi

My company previously used Visual Studio 6.0 for working on our application.
As the application has quite a long startup time (especially when running
Debug build from the debugger) I used Edit and Continue a lot to test the
effect of small code changes.

About a year ago we upgraded to Visual Studio 7.1, and since then I have not
been able to get Edit and Continue to work. It always tells me that the
changes I made require a restart of the application to take effect. This
happens even for really minor changes where no new variables are introduced,
for example if the only change I do is to change a character in a hardcoded
string.

Other people in my company complain about the same thing, and someone told
me that this is a well known problem with 7.1. Is it so? Any way to get
around it? Edit and Continue can be such a time saver sometimes and it would
be really nice to get it to work as it used to...

Thanks for any tips.

Tug.

David Lowndes
12/21/2004 11:25:28 PM
[quoted text, click to view]

It's not well known to me. I wasn't aware of any lesser capabilities
in EnC in VC7.1. I'd certainly have done the same as you - on many
occasions I'll have changed a hardcoded string without having to
restart the program.

If you start a new project using the AppWizard - say a Win32 console
application, add a few lines of code with some things you will change
when debugging, can you reproduce the problem?

Dave
--
AddThis Social Bookmark Button