一、可能是代码有所改动,导致断点处无法准确定位。解决方法:右键点击失效断点处->选择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.