什么是查看VC ++ 2010拆卸准确,而在Win32发布模式的最好方法? [英] What's the best way to view accurate disassembly in VC++ 2010 while in Win32 Release mode?
本文介绍了什么是查看VC ++ 2010拆卸准确,而在Win32发布模式的最好方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我写汇编级优化code,我需要确保C ++编译器在释放模式正常工作吧。
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.
我曾经是能够得到释放模式计划于2002年在VS打破断点(并显示的原始反汇编,因为我通过它踩),但我不记得我是如何得到这工作。难道VS 2010有可能会允许这种情况发生的任何选项?
I used to be able to get Release-Mode programs to break on breakpoints in VS 2002 (and display the raw disassembly as I stepped through it), but I can't remember how I got that to work. Does VS 2010 have any options that might allow this to happen?
推荐答案
构建符号的发布版本(/ ZI),你就可以设置断点
Build symbols for your release build (/Zi) [edit: and link with /DEBUG] and you'll be able to set breakpoints.
这篇关于什么是查看VC ++ 2010拆卸准确,而在Win32发布模式的最好方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文