开发者

how to Apply code changes at run time without breaking exectuion

I am in visual studio 2008 and working on a very huge project which takes alot of time to build now when it is running in debug and i make some code changes i want it to incorporate those code changes at run Time. i do understand that this will not be always possible but in some situation it is.

I do know that when i brea开发者_如何转开发k the execution using break point and then add code then step in again it applies code changes but i want it to apply code changes without breaking execution.


I think there no way to do the thing you want.

I use following trick in my asp.net application to execute my code change.

  • Deatach w3p process from ide ( Go Debug > Deatach all)
  • Make changes in code
  • Rebuild code
  • Attach process again with ide ( Go Debug > attach process>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜