PC Review


Reply
Thread Tools Rate Thread

How to change code during debugging

 
 
JM
Guest
Posts: n/a
 
      24th Feb 2007
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


 
Reply With Quote
 
 
 
 
RobinS
Guest
Posts: n/a
 
      26th Feb 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Phill W.
Guest
Posts: n/a
 
      26th Feb 2007
JM wrote:

> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I skip debugging Ajax when debugging my code? AAaron123 Microsoft ASP .NET 3 28th Jul 2009 05:07 PM
Debugging from Managed Code into unmanaged code Ed Microsoft VC .NET 2 7th Jul 2007 03:43 AM
IL code debugging? spambox09@gmail.com Microsoft Dot NET Framework 1 9th Jun 2007 03:09 PM
How to change code during debugging JM Microsoft Dot NET 1 23rd Feb 2007 07:07 PM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake Microsoft ASP .NET 1 5th Jan 2004 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:38 PM.