Welcome to Professional ASP.NET - Chris Love's Official Blog Sign in | Join | Help

Chris Love's Official ASP.NET Blog

Chris Love's Helpful tips, tricks and pragmatic development knowledge for the ASP.NET world.
Add to Technorati Favorites


ASP Insider
Correcting Code and Debugging at the Same time

A feature that was promised, and even demoed to me on several occasions for VS 2003 was editing on the fly in debug mode.  I think it worked for Desktop applications (in some cases at least), but never for the web.  Now it does!

This may be the greatest time saving feature for me.  How many times did you find a bug in your web site before and you have to kill the debug session, change one or two items, hit F5 wait as much as three minutes (if you are debugging a DotNetNuke module) to begin the long series of steps to get to your error.  Well no more.  Simple change your code, save the file and voila you are right back in the groove where you left off.

A quick helpful hint here.  When you get the bug, go ahead and finsih the page load and execution.  You will probably be at the exception report message if you tossed an exception.  Make your change and this time hit F5 in your browser.  You should be able to start executing roughly where you left off.  I think this is a GREAT feature.

Posted: Friday, January 06, 2006 10:03 AM

by Chris Love

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS