Disable all types of optimizations in VS2010

前端 未结 5 1242
甜味超标
甜味超标 2021-01-04 18:13

How should you disable all types of optimizations while debugging in VS2010?

5条回答
  •  鱼传尺愫
    2021-01-04 18:52

    To insure optimizations are off, right click on your project -> Properties -> Configuration Properties -> C/C++ -> Optimization -> Optimization = Disabled. This is the /Od compiler switch.

提交回复
热议问题