Edit And Continue doesn't work :-(

G

Gianluca Pezzoli

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

But It doesn't work. The code is read-only!!

I have in project properties:
- configuration Debug
- Advanced Compile options (Enable optimization NON enabled)
- (Generate Full debug
informations)

and in IDE / Tools / options / Debug /
Edit And continue
Enable Edit and continue Checked
JIT: all cheked

But i haven't changed this options from VS installation.
I think (but i'm not sure) that last VS update has disabled Edit and
continue.

Can anyone help me?

Thanks in advance

Gianluca
 
G

Guest

Sorry, I missed the fact that you already got that covered. On the debug
tab, what is check under the heading of 'Enable Debuggers' (last items on the
page)?
 
G

Gianluca Pezzoli

- Enable debug on unmanaged code: Not checked
- Enable Sql Server debug: Not checked
- Enabled Visual Studio hosting process: Checked
 
W

WenYuan Wang [MSFT]

Hello Gianluca,

It sounds like a product issue.
Would you please let us know the version number of your current VSTS?
(For example: version 8.0.50727.867 (vsvista.050727-8600))

If it is possible for you to paste a screen-shooting of Visual Studio IDE
(when debugging), this is will help on research very much.
My alias is (e-mail address removed). You also can send the screen-shooting
to me directly if you failed to paste it in newsgroup.

Let me know if you have any more concern. We are glad to assist you. Thanks.
Have a great day.
Best regards,

Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
R

Ramses

I found a similar problem.

By accident I found that if I enable the "Drag and drop text editing" option
in the Options dialog under the "Text editor" | "General" page it allows you
to move the execution point and allows you to edit some files (but not all
????) when running the debugger for VB projects

Ramses
 
L

Light65536

I have found that "Edit-And-Continue" works in quite a few different
ways. I have not test this project but solved an Edit-And-Continue
problem with VS 2005 product family.

The Quick Fix
Make sure "Break All Process when One Process Breaks IS checked under
Debugging->General

What Happens if Not Checked and Edit-And-Continue is Checked
Symptoms:
File will show as read-only in editor but not be read-only in file
system. Changes to this file will bring up a dialog box that will ask
to re-start the program.

There are about a dozen other things that can cause edit-and-continue
to fail including linked files, 64bit code, mixed code, and when run
from process is used.
Curtis White
http:///www.ghostclip.com
 

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