How to change code during debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JM

    #1

    How to change code during debugging

    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


  • RobinS

    #2
    Re: How to change code during debugging

    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" <jm06@ya.comwro te in message
    news:ecQwelDWHH A.480@TK2MSFTNG P02.phx.gbl...
    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
    >
    >

    Comment

    • Phill W.

      #3
      Re: How to change code during debugging

      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.

      Comment

      Working...