vs2010中调试程序时,在断点的图标上出现一个小感叹号怎么办?

应该是代码有所改动,导致断点处无法准确定位。
解决方法:右键点击失效断点处->选择location->选中"Allow the source code to be different from the original version"
一劳永逸的方法是:
点击菜单选择Tools--Options--Debugging---General,取消掉Require sourch files to excatly match the original version.

(0)

相关推荐