Editing code in Visual Studio 2008 in debug mode

后端 未结 7 604
别跟我提以往
别跟我提以往 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:17

    There are only a few reasons I know of why Edit+Continue would be disabled in the Debug build. First and foremost is a 64-bit operating system, E+C only works for 32-bit code. Fix that with Project + Properties, Build tab, Platform Target = x86.

    It is also an option that might have been turned off. Tools + Options, Debugging, Edit and Continue, Enable checkbox.

    If this doesn't help, tell us a bit more about the kind of code you're debugging, the project template you selected when you started the project, how you got the debugger to break and a stack trace copied from the Call Stack window.

    0 讨论(0)
提交回复
热议问题