What's the best way to view accurate disassembly in VC++ 2010 while in Win32 Release mode?

后端 未结 4 1482
予麋鹿
予麋鹿 2021-01-16 03:42

I am writing assembly-level optimized code, and I need to make sure that the C++ compiler is working with it correctly in Release-Mode.

I used to be able to get Rele

4条回答
  •  粉色の甜心
    2021-01-16 04:35

    Compile with /Zi and link with /DEBUG and you'll be able to set breakpoints.

    Under a project's Properties dialog:

    • /Zi can be enabled in C++ --> General --> Debug Information Format

    • /DEBUG can be enabled in Linker --> Debugging --> Generate Debug Info

提交回复
热议问题