I have a vb.net 2005 project and wonder what else needs to be enabled to
allow me to edit a line(s) of code while in break mode and then bne able to
carry on with execution of the application. Currently, if I attempt to
change a line of code (either the line I am currently on, or any subsequent
lines) in break mode, I get a message at the bottom that indicates it is in
read only mode and that no changes can be made.

I have ensured that the "Edit and Continue" is enabled and that the JIT
debugger (found in Tools->Options->Debugging) is also enabled.

My co-worker using the exact same version of vb.net (same service pack and
all) can do what it is I want to be able to do. We have checked settings on
both machines and can't seem to find the right one. I'm hoping it's an easy
fix! :-)

Help!!

Thanks, Brad

Re: Unable to edit a line of code while in break mode... by RobinS

RobinS
Wed Mar 12 15:02:12 CDT 2008

Make sure you are running it in debug mode, rather than release.

RobinS.
GoldMail.com
----------------
"Brad Pears" <bradp@truenorthloghomes.com> wrote in message
news:eqKDy3GhIHA.5280@TK2MSFTNGP02.phx.gbl...
>I have a vb.net 2005 project and wonder what else needs to be enabled to
>allow me to edit a line(s) of code while in break mode and then bne able to
>carry on with execution of the application. Currently, if I attempt to
>change a line of code (either the line I am currently on, or any subsequent
>lines) in break mode, I get a message at the bottom that indicates it is in
>read only mode and that no changes can be made.
>
> I have ensured that the "Edit and Continue" is enabled and that the JIT
> debugger (found in Tools->Options->Debugging) is also enabled.
>
> My co-worker using the exact same version of vb.net (same service pack and
> all) can do what it is I want to be able to do. We have checked settings
> on both machines and can't seem to find the right one. I'm hoping it's an
> easy fix! :-)
>
> Help!!
>
> Thanks, Brad
>


Re: Unable to edit a line of code while in break mode... by Phill

Phill
Thu Mar 13 08:06:46 CDT 2008

Brad Pears wrote:

> I have a vb.net 2005 project and wonder what else needs to be enabled to
> allow me to edit a line(s) of code while in break mode and then bne able to
> carry on with execution of the application. Currently, if I attempt to
> change a line of code (either the line I am currently on, or any subsequent
> lines) in break mode, I get a message at the bottom that indicates it is in
> read only mode and that no changes can be made.

What sort of Project is this.
Despite the much lauded return of Edit and Continue, it quite simply
does not work for many types of project mostly those that require the
IDE to attach itself to an external process (e.g. Windows Services & Web
Applications).

HTH,
Phill W.