使用 VS2013 Pro 时,我无法在调试 MFC 程序时使用编辑并继续".我创建了一个新的 MFC 项目进行测试.
With VS2013 Pro I am not able to use "Edit and Continue" when debugging an MFC program. I created a new MFC project to test.
操作系统是 Windows 7 64 位,我运行的是 Visual Studio 2013 12.0.30110.00 Update1.
OS is Windows 7 64-bit and I'm running Visual Studio 2013 12.0.30110.00 Update1.
在 Tools->Options->Debugging->Edit and Continue
下,我勾选了 Enable Edit and Continue
.我已经取消选中并选中它,但是每当我在调试时修改代码时,我都会收到以下消息:
Under Tools->Options->Debugging->Edit and Continue
I have Enable Edit and Continue
checked. I have unchecked it and checked it, but whenever I modify the code while debugging I get the following message:
源文件已更改.它不再与用于构建正在调试的应用程序的文件版本匹配.
The source file has changed. It no longer matches the version of the file used to build the application being debugged.
基本上我没有改变任何设置,除了标签大小,我已经将键盘映射方案设置为 VC6.
Basically I haven't changed any settings except for the tab sizes and I've set the keyboard mapping scheme to VC6.
我缺少什么设置才能启用编辑和继续?
默认情况下对本机代码禁用编辑并继续".启用:
Edit and Continue is disabled for native code by default. To enable:
编辑:测试本机编辑并继续"的步骤是否有效:
Edit: Steps to test native Edit and Continue is working:
cx = cx/2;
这篇关于Visual Studio 2013 编辑并继续不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!