• <tfoot id='de5ED'></tfoot>

      <i id='de5ED'><tr id='de5ED'><dt id='de5ED'><q id='de5ED'><span id='de5ED'><b id='de5ED'><form id='de5ED'><ins id='de5ED'></ins><ul id='de5ED'></ul><sub id='de5ED'></sub></form><legend id='de5ED'></legend><bdo id='de5ED'><pre id='de5ED'><center id='de5ED'></center></pre></bdo></b><th id='de5ED'></th></span></q></dt></tr></i><div id='de5ED'><tfoot id='de5ED'></tfoot><dl id='de5ED'><fieldset id='de5ED'></fieldset></dl></div>

      1. <small id='de5ED'></small><noframes id='de5ED'>

          <bdo id='de5ED'></bdo><ul id='de5ED'></ul>
        <legend id='de5ED'><style id='de5ED'><dir id='de5ED'><q id='de5ED'></q></dir></style></legend>
      2. Visual Studio 2013 编辑并继续不起作用

        时间:2023-09-26

            <tbody id='cEK29'></tbody>
        • <i id='cEK29'><tr id='cEK29'><dt id='cEK29'><q id='cEK29'><span id='cEK29'><b id='cEK29'><form id='cEK29'><ins id='cEK29'></ins><ul id='cEK29'></ul><sub id='cEK29'></sub></form><legend id='cEK29'></legend><bdo id='cEK29'><pre id='cEK29'><center id='cEK29'></center></pre></bdo></b><th id='cEK29'></th></span></q></dt></tr></i><div id='cEK29'><tfoot id='cEK29'></tfoot><dl id='cEK29'><fieldset id='cEK29'></fieldset></dl></div>
          1. <small id='cEK29'></small><noframes id='cEK29'>

            <legend id='cEK29'><style id='cEK29'><dir id='cEK29'><q id='cEK29'></q></dir></style></legend>
              <tfoot id='cEK29'></tfoot>
              • <bdo id='cEK29'></bdo><ul id='cEK29'></ul>

                  本文介绍了Visual Studio 2013 编辑并继续不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  使用 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:

                  1. 工具菜单上,点击选项.
                  2. 选项对话框中,打开调试节点,然后选择编辑并继续类别.
                  3. 仅限本机选项组中,选择启用本机编辑并继续
                  1. On the Tools menu, click Options.
                  2. In the Options dialog box, open the Debugging node, and select the Edit and Continue category.
                  3. In the Native-only options group, select Enable native Edit and Continue

                  编辑:测试本机编辑并继续"的步骤是否有效:

                  Edit: Steps to test native Edit and Continue is working:

                  1. 开始 VS 2013
                  2. 创建一个新的 MFC 项目:
                    • FILE->新建项目->MFC 应用程序->确定.
                    • 在 MFC 应用程序向导中选择完成.
                  1. Start VS 2013
                  2. Create a new MFC project:
                    • FILE->New Project->MFC Application->OK.
                    • Select Finish on the MFC Application Wizard.
                  • 构建->构建解决方案
                  • 调试->开始调试
                  • 调试->打破一切
                  • 打开 OutputWnd.cpp 并找到 COutputWnd::OnSize(第 80 行)
                  • 在函数的开头插入这一行:cx = cx/2;
                  • 调试->继续

                  这篇关于Visual Studio 2013 编辑并继续不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:在 MS Visual Studio 2013 中,我可以使用什么来代替 std::aligned_alloc? 下一篇:是否可以通过引用以基类为参数的函数来传递派生类

                  相关文章

                      <bdo id='ByZir'></bdo><ul id='ByZir'></ul>

                    <small id='ByZir'></small><noframes id='ByZir'>

                  1. <legend id='ByZir'><style id='ByZir'><dir id='ByZir'><q id='ByZir'></q></dir></style></legend>

                      <i id='ByZir'><tr id='ByZir'><dt id='ByZir'><q id='ByZir'><span id='ByZir'><b id='ByZir'><form id='ByZir'><ins id='ByZir'></ins><ul id='ByZir'></ul><sub id='ByZir'></sub></form><legend id='ByZir'></legend><bdo id='ByZir'><pre id='ByZir'><center id='ByZir'></center></pre></bdo></b><th id='ByZir'></th></span></q></dt></tr></i><div id='ByZir'><tfoot id='ByZir'></tfoot><dl id='ByZir'><fieldset id='ByZir'></fieldset></dl></div>
                      <tfoot id='ByZir'></tfoot>