3

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

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

-------- 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]

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

4

1 回答 1

0

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

于 2011-10-05T19:28:49.083 回答