VS2013编辑并继续不适用于32位(错误1006) [英] VS2013 edit-and-continue doesn't work for 32-bit (error 1006)

查看:106
本文介绍了VS2013编辑并继续不适用于32位(错误1006)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft Visual Studio Professional 2013版本12.0.30501.00更新2在64位Win7下运行.应用程序是32位调试版本,C ++(本机).

Microsoft Visual Studio Professional 2013, Version 12.0.30501.00 Update 2, is running under 64-bit Win7. App is 32-bit debug build, C++ (native).

在断点处,如果我更改源代码并继续,则会收到一条消息

When at a breakpoint, if I change the source code and continue, I get a message

编辑并继续:错误1006:已添加,重命名,删除或更改了数据类型或初始化的全局或静态变量:___ ImageBase(引用:c:\ MyProgram \ debug \ MySource.obj)

Edit and Continue : error 1006 : A global or static variable was added, renamed, removed, or changed data type or initialization: ___ImageBase (referenced by: c:\MyProgram\debug\MySource.obj)

无论发生什么更改,都会发生这种情况.在上面的示例中,我在注释行的末尾添加了1个字符.

This occurs no matter what the change. In the example above, I added 1 character to the end of a comment line.

启用了编辑并继续"和本机编辑并继续"功能(以下屏幕截图).

Both edit-and-continue and native edit and continue are enabled (screen shot below).

推荐答案

VoiceOfExperience,

Hi VoiceOfExperience,

也许您可以与我们分享一个简单的示例,以便我们可以在相同的环境中进行测试.

Maybe you could share us a simple sample, so we could test in the same Environment.

启用编辑并继续后,请重新启动VS,然后再次进行测试.

After you enable the edit and continue, please restart your VS, test it again.

此外,您知道VC ++具有一些局限性.

In addition, you know that there are some limitations for VC++ with it.

请参阅:

http://msdn.microsoft.com/en-us/library/0dbey757.aspx  ;,因此我们可以确保它不违反这些规则.

http://msdn.microsoft.com/en-us/library/0dbey757.aspx , so we could make sure that it doesn't go against thses rules.

如果我们确保它确实满足上述链接的要求,也许您可​​以在其他VS机器上对其进行测试,但是仍然存在此问题,也许您可​​以在此处提交报告: http://connect.microsoft .com/VisualStudio/feedback/CreateFeedback.aspx , 您最好在报告中共享一个简单的示例,这样对产品团队专家进行此问题的再制造/故障排除将很有帮助.

Maybe you could test it in other VS machine, if we make sure that it really meets the requirements as the above link, but it still has this issue, maybe you could submit a report here:http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, you'd better share a simple sample in your report, so it would be helpful for the product team expert to repro/troubleshoot this issue.

周末愉快,


这篇关于VS2013编辑并继续不适用于32位(错误1006)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆