在运行应用程序,我们可以修改我们的代码 [英] Can we edit our code while running the application

查看:195
本文介绍了在运行应用程序,我们可以修改我们的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我这样做的工作工具 - >选项 - >调试休息时,一个进程
中断所有进程已启用那个时候也同样的问题,现有的

i did this work Tools->Options->Debugging 'Break all processes when one process breaks' is enabled that time also same problem existing

推荐答案

Visual Studio中有一个名为编辑功能,并继续。这意味着你可以打破的执行,做的修改,然后再恢复它(规定的变化可以编译和这种变化是的通过编辑支持并继续)。

Visual Studio has a feature called Edit and Continue. This means you can break the execution, do the change, and then resume it (providing that the changes can be compiled and that the change is supported by Edit and continue).

在换句话说,你可以不完全改变,而应用程序代码是的运行,但你能很快打破它,并使用调试器的更改源。

In other words, you cannot exactly change the code while the app is running, but you can break it shortly and change the source using the debugger.

这篇关于在运行应用程序,我们可以修改我们的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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