Edit and Continue

V

Venkat

Hi,

Edit and continue does not work when i attach my application to source code?
Can any body tell me why it is not working? It works fine when i start my
application from the source code using F5 button. If i attach then it does
not work? are there any limitations to Edit and continue?

Cheers,
Srikanth
 
G

George Hardy

i hope you find out, because i thought vs.net2005 was like the old vb6, in
that you could change live running code. I cant seem to get it to work
either.
 
G

George Hardy

well, i was finally able to get one of my 50 forms converted to the new
format. (filename.vb, filename.designer.vb, and filename.resx.

i created a new dummy form, and named it filename2.

i then copied all the design time controls from the old form to the new
form. I then copied the code i wrote from the old file to the new one. It
seems pretty cheesy that the conversion wizard couldn't do this. Seems like
a good add-in tho (hint hint).

After only 3 crashes of the development studio, it compiled, and was STILL
NOT able to edit and continue on this one form.

strange

george
 
A

Armin Zingler

George Hardy said:
well, i was finally able to get one of my 50 forms converted to the
new format. (filename.vb, filename.designer.vb, and filename.resx.

i created a new dummy form, and named it filename2.

i then copied all the design time controls from the old form to the
new form. I then copied the code i wrote from the old file to the
new one. It seems pretty cheesy that the conversion wizard couldn't
do this. Seems like a good add-in tho (hint hint).

After only 3 crashes of the development studio, it compiled, and was
STILL NOT able to edit and continue on this one form.

Menu Tools -> Options: Debugging -> Edit and Continue

Enabled?

Though, it is not possible to attach to a running process and use
Edit&Continue. It's only available if you start the application in the IDE
/with/ debugging (not "start without debugging").


Armin
 
G

George Hardy

yup, all turned on, and all files locked during runtime. i dont get it.

george
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top