Suppress JIT optimization on module load (managed only)

前端 未结 1 2059
暗喜
暗喜 2021-02-08 15:31

If I run a release build in VS but WITH debugger attached. So I can set breakpoints and investigate the optimized code disassembly. Usually, in order to see all optimizations I

相关标签:
1条回答
  • 2021-02-08 16:09

    There is small differences in IL between DEBUG and RELEASE builds, so you do want to use RELEASE build in this case (i.e. all Debug.XXX calls are compiled out in Release case).

    Un-checking "Suppress JIT optimization on module load (managed only)" should allow JIT do do optimizations as if no debugger attached. I'm not aware of any differences between these 2 cases.

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