您的位置:首页 > 移动开发

How to enable Edit and Continue feature for Web Application Projects?

2012-11-09 09:22 429 查看
It is possible to edit and continue debugging web apps, even on x64 platform.

So, say goodbye to this window:



Simply tick the box on the WebClient project. (double click ‘properties’ in that project)



This will alleviate pretty much all your problems with regards to long build times, since now you can just put a break point wherever you wish, step through (using F11, and F10 (Debug – Step Into / Step Over).

Now, every time you get an exception, you can just type more/less/delete code where highlighted to fix it J

Also, for those that don’t know, use the IMMEDIATE WINDOW to type any line of code during debugging to get the ‘answer’

e.g. type

? myvariable.tostring()

To get the value

Found here:

http://blogs.msdn.com/b/webdevelopertips/archive/2008/11/26/tip-29-did-you-know-how-to-enable-edit-and-continue-feature-for-web-application-projects.aspx

And there are tones more:

big list here

http://blogs.msdn.com/b/webdevelopertips/
http://www.asp.net/web-forms/videos/how-do-i/choosing-the-right-programming-model
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐