Editing code in Visual Studio 2008 in debug mode

后端 未结 7 703
别跟我提以往
别跟我提以往 2021-02-04 07:12

I am curious to know if there is a way to edit code in C# VS 2008 right when it has hit a breakpoint and I am walking thru the code... can I modify the code (such as the value i

7条回答
  •  甜味超标
    2021-02-04 07:55

    Yes, you can.
    This is called Edit and Continue.
    Note that it has some limitations.

    EDIT: You need to switch to a debug build.

提交回复
热议问题