🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
按F9断点变灰,Debug调试时进不去断点,提示: The breakpoint will not currently be hit. The source code is different from original version. 大概的意思是说当前的代码与执行文件对应版本的代码不同,这就需要重新编译代码。 解决方案: 1.rebuild工程。 2.在工程的代码文件(.cpp或.h)适当的位置,敲几个回车或按几个空格,然后rebuild。 3.重启VS2010,把OUT目录的东西全删了,然后rebuild。 4.断点处右键点击,选择“Location…”  把“Allow the source code to be different from the original version”复选框勾上。