Stay Hungry, Stay Foolish

changes are not allowed while code is running

编程 7944℃ 0评论

visual studio 运行程序的时候,如果在运行过程中想要修改一些代码结果显示 changes are not allowed while code is running 如下所示,还要停止运行然后编辑完再运行查看结果,感觉很不方便而且效率低。

解决办法:
英文版:tools->options->debugging->general,将前面的勾选取消"Enable Edit and Continue”。

中文版:工具->选项->调试->常规->将 启用“编辑并继续”前面的对勾去掉如下图:

喜欢 (2)
取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦


Warning: Use of undefined constant PRC - assumed 'PRC' (this will throw an Error in a future version of PHP) in C:\inetpub\wordpress\wp-content\themes\XHBlog\comments.php on line 17
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址