How to change code during debugging

  • Thread starter Thread starter JM
  • Start date Start date
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
 
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.
 
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.
 
Back
Top