visual-studio-2010 - 什么会得到编辑并继续工作?

标签 visual-studio-2010 visual-c++ edit-and-continue

Visual Studio 的“编辑并继续”功能在某个时候再次停止工作。

VisualStudio 2010 sp1 专业版。我正在用 c++ native 代码 编写一个 dll。我从 ide 运行主机 32 位可执行文件。我在 .dll 旁边有 .pdb。我尝试只编辑一些空白,以消除我正在创建无法注入(inject)的场景的可能性。我点击“应用更改”,这就是我在输出窗口中看到的内容。

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

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

但是我在弹出的对话框中看到了这个:

Edit and Continue
----------------------------------------
Edits were made which cannot be compiled

Click Edit to fix the code.
Click Stop to stop debugging.
Click Ignore to continue without applying edits
[Edit][Stop][Ignore]

有人知道如何解决这个问题吗?代码编译。调试断点工作。我只是想减少此应用程序必须进行测试的漫长启动时间。

最佳答案

如果这对您有用,您可以对该链接(及其答案)作者的原始帖子进行投票:Can't edit and continue when using Visual Studio 2010 on a 64 bit machine, app targets x86

关于visual-studio-2010 - 什么会得到编辑并继续工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7665975/

相关文章:

c# - 如何创建自定义工具以在 Visual Studio 2010 中生成代码?

visual-studio-2010 - 从 visual studio 负载测试中获取 "Time to first byte"指标

c++ - 在模板中使用 std::max 时出错

visual-studio-2012 - 当 C++/CLI 项目使用/ZI 引用静态库项目时出现警告 LNK4075(编辑并继续)

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

visual-studio - 在 64 位计算机上使用 Visual Studio 2010 时无法编辑并继续,应用程序面向 x86

c# - 使用 C# : 比较和删除数据表行

visual-studio-2010 - 在Visual Studio中添加SQL Server数据连接

c++ - 为什么 std::unordered_map 有保留方法?

c++ - 视觉 C++ : how to pass pointer to array as parameter?