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

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

问题描述

我做了这个工作工具 - >选项 - >调试'当一个进程
中断时断开所有进程'启用该时间也存在相同问题

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天全站免登陆