c++ - 编辑并继续不起作用(C++,Visual Studio Community 2015)

标签 c++ debugging visual-studio-2015 edit-and-continue

当我中断时,Visual Studio 2015 从不应用我的代码更改,进行代码更改,然后继续。

它在“输出”窗口中给我这条消息:

-------- Edit and Continue build started --------

--------------------- Done ----------------------

Edit and Continue : Successfully applied code changes.

它在撒谎;它没有应用任何东西。如果再次在该文件中设置断点,它会告诉我:

The breakpoint will not currently be hit. The source code is different from the original version.

我找不到任何不正确的编译器标志,并且在选项中启用了“编辑并继续”:

enter image description here

我在 VS 2005 和 2010 中经常使用“编辑并继续”,而且效果很好。 (好吧,它至少有超过 0% 的时间有效。)2015 年发生了什么?

最佳答案

安装 Update 3 后现在可以使用。

关于c++ - 编辑并继续不起作用(C++,Visual Studio Community 2015),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37636443/

相关文章:

ARM 上的 C++ 结构成员对齐和打包要求

c++ - 使用整数作为模板参数时出现编译器错误

java - java练习作业中的NullPointerException

visual-studio-2015 - 在 Azure 应用服务上远程调试 ASP.NET Core 1.0 应用程序

c++ - pragma comment(lib) 不起作用

python - Windows 7 cmd,来自 Visual Studio,不显示 float

c++ - 如何从一组已定义的描述符中动态构建新的 protobuf?

android - 在cocos2d-x中绘制纹理

apache-flex - 为什么 Flex 调试在带有断点的 Firefox 6 中一段时间​​后停止工作?

node.js - 将 Rust 与 Neon 绑定(bind)一起使用时,如何获得回溯或以其他方式调试 "failed to initiate panic"?