How to change code during debugging

J

JM

Hi,

I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not able
to do it.

Can anyone tell me how I need to configure VS2005 so it allow me to change
code during debugging?

Thanks,

Jamie
 
R

RobinS

When you set a breakpoint, and run your app, what does it do? Nothing? Are
you sure it's running that statement? Because edit-and-continue works fine
for me.

Robin S.
 
P

Phill W.

JM said:
I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not able
to do it.

VS'2003 allowed you to change the source code while the application was
running. However, in all but a /very/ few cases, it made no difference
- the change was /not/ taken into account until you /restarted/ the
application.
Can anyone tell me how I need to configure VS2005 so it allow me to change
code during debugging?

Edit-and-Continue really /does/ work in /Visual Basic/ 2005 (don't know
about the other languages); the option to turn it on is buried in

Tools > Options
Debugging / Edit and Continue.

HTH,
Phill W.
 

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