VS 2012中的编辑并继续功能 [英] edit and continue feature in VS 2012

查看:313
本文介绍了VS 2012中的编辑并继续功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们将代码从VS 2008转移到VS 2012时,编辑并继续"选项不起作用.在VS 2008中,可以暂停正在运行的程序,并允许我们对代码进行更改,然后再次恢复程序.  但是在VS 2012中 当正在运行的程序暂停时,除非停止程序,否则不允许对代码进行任何更改.请告知应采取哪些措施来克服这一问题.


由于intelliTrace是显示的错误消息之一,因此我尝试将其禁用.但是在我们的VS 2012中,在工具-选项->
"下 没有选项IntelliTrace.

 The edit and continue option is not working when we transferred the code from VS 2008 to VS 2012. In VS 2008 a running program could be paused and we were allowed to make changes in the code and then again resume the program.  But in VS 2012 when the running program is paused it is not allowing to make any changes in the code unless the program is stopped. Please advise what should be done to overcome this.


And as intelliTrace was one of the error messages shown , i tried to disable it. But in our VS 2012, under Tools-Options->
there is no option IntelliTrace. What should I do to get this option?

推荐答案

您可以在此处启用编辑并继续":  Debug-> Options and Settings->编辑并继续->启用编辑并继续"

You can turn on Edit and Continue here:  Debug->Options and Settings->Edit and Continue->"Enable Edit and Continue"

在调试"下的右侧在选项窗口中是"Intellitrace". -在常规页面上,可以将其禁用.

Right under "Debugging" in the options window is "Intellitrace" - on the general page there's the option to disable it.


这篇关于VS 2012中的编辑并继续功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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