[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Tom McLaughlin

8/14/2006 2:44:00 PM

I am using VS 2005 and I am having trouble with being able to edit and
continue while in the debug mode. This was not a problem earlier but
something has change.



I have checked the following settings in the options:

<tools><options><debugging><edit and continue> is check but I am still
unable to enter code in the code editor.



I receive the following:

?Cannot currently modify this text in the editor. It is read-only.?



How can I fix this problem?



Thanks



Tom


2 Answers

Cyril Gupta

8/14/2006 4:00:00 PM

0

Hello Tom McL.,

This can happen pretty often if your compile method is set to 'Release' instead
of 'Debug'. Look in the top toolbar near the green play button.

Hmm...

Regards
Cyril Gupta
You can do anything with a little bit of 'magination.

> I am using VS 2005 and I am having trouble with being able to edit and
> continue while in the debug mode. This was not a problem earlier but
> something has change.
>
> I have checked the following settings in the options:
>
> <tools><options><debugging><edit and continue> is check but I am still
> unable to enter code in the code editor.
>
> I receive the following:
>
> ?Cannot currently modify this text in the editor. It is read-only.?
>
> How can I fix this problem?
>
> Thanks
>
> Tom
>


Tom McLaughlin

8/14/2006 9:14:00 PM

0

Cyril,

I am not sure what I am to look at on the tool bar but, here are a few
things that I have looked at:



Edit and Continue is not available in the following debugging scenarios:

· Mixed-mode (native/managed) debugging.

· SQL debugging.

· Debugging a Dr. Watson dump.

· Editing code after an unhandled exception, when the "Unwind the
call stack on unhandled exceptions" option is not selected.

· Debugging an embedded runtime application.

· Debugging an application with Attach to rather than running the
application with Start from the Debug menu.

· Debugging optimized code.

· Debugging managed code when the target is a 64-bit application. If
you want to use Edit and Continue, you must set the target to x86. (Project
Properties, Compile tab, Advanced Compiler setting.).

· Debugging an old version of your code after a new version failed
to build due to build errors.

But I still have the same problems with Edit and Continue.

I hope someone can help.



Thanks again



Tom