企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
按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”复选框勾上。