Editing code in Visual Studio 2008 in debug mode

后端 未结 7 626
别跟我提以往
别跟我提以往 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 08:11

    To solve this problem I did the following...

    BUILD > CONFIGURATION MANAGER

    Active solution configuration: DEBUG project context configuration: DEBUG

    then TOOLS > OPTIONS > DEBUGGING > EDIT & CONTINUE make sure edit & continue is selected

    then BUILD > CLEAN SOLUTION then BUILD > REBUILD SOLUTION

    Then start debug, then pause, then your code should be editable

提交回复
热议问题