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:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/10/182b487ebe42be662c53fb91affac8fc.png)
Simply tick the box on the WebClient project. (double click ‘properties’ in that project)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/10/743db0d314283e198d600c6b65be8529.jpg)
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
So, say goodbye to this window:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/10/182b487ebe42be662c53fb91affac8fc.png)
Simply tick the box on the WebClient project. (double click ‘properties’ in that project)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/10/743db0d314283e198d600c6b65be8529.jpg)
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
相关文章推荐
- How to enable USB selective suspend and system wake in the UMDF driver for a USB device
- [原] XAF How to see and edit the time part in the DatePropertyEditor for the System.DateTime property
- How to create and delete a SharePoint site by web application
- How to enable time stamps for logs in 'dmesg' on Gaia and SecurePlatform
- In a Web Application and Mobile (hybrid), how to know which this platform running?
- how to build your web application on spring boot and deploy it on heroku
- How to get Intellisense for Web.config and App.config in Visual Studio .NET?(转载)
- How to enable packet forwarding for IPv4 and IPv6
- how to build your web application on spring boot and deploy it on heroku
- How to trim and edit videos in Photos for OS X
- How to Reference and Use JSTL in your Web Application
- How To Install and Use the Web Application Stress (WAS) Tool
- This solution contains no resources scoped for a Web application and cannot be deployed to a .....
- How to Configure Auto Launch for a Single Published Application on Web Interface 5.x
- How To Enable/Disable Archive Logging In RAC Environment for 10.2 and higher version
- How to Reference and Use JSTL in your Web Application
- How to integrate Struts2 into Web Application and small sample//TODO Verify!!!
- How to Enable Read-Only Client Drive Mapping and Clipboard Mapping for XenApp
- How to Enable Read-Only Client Drive Mapping and Clipboard Mapping for XenApp
- How to choose between zombie.js and PhantomJS for automated web testing? [closed]