Debugging in .NET in Release mode

前端 未结 3 1300
萌比男神i
萌比男神i 2021-01-12 09:18

Some time ago I\'ve read an article on CLR, where author showed that if a project is compiled in DEBUG mode, before each operator comes a NOP command, thus allowing to debug

3条回答
  •  春和景丽
    2021-01-12 09:45

    You can debug in Release mode to an extent. Debug and Release are simply build configurations (of which you can create many), the real difference is that Debug configuration doesn't optimize the generated binary code (optimized code complicates debugging). It also generates additional debug data which release does not.

提交回复
热议问题