Debugging ASP.NET 2.0 with Visual Studio 2005

September 12th, 2006

Web development can be tricky as it involves various technologies from HTML, CSS, Javascript and then the server-side programming languages. Fortunately with Visual Studio 2005 you are pretty well covered. To debug an ASP.NET web form, you can simply place a breakpoint in your code-behind, set the page as your Start Page and hit F5. That is as easy as can be, but when you deal with Javascript or custom server controls with Design-Time support there other debugging techniques you can employ.

Debug Javascript with IE and Visual Studio 2005

When your website includes complex Javascript, perhaps leveraging some AJAX features, you will occasionally need to resolve a bug with no clear cause. To resolve it you can jump into the debugger with Internet Explorer. (read)

Design-Time Debugging ASP.NET 2.0 in Visual Studio 2005

It is not as easy as debugging a web form, but once you get the hang of it you will have no trouble, at least not with starting the debugging process. Fixing the bugs is another matter. (read)

Fixing Errors in ASP.NET Server Controls, Plus that Big One

Once you have resolved your first round of bugs you may find it gets easier. You eventually learn to avoid the techniques which do not work and focus on the ones that do. (read)

And if you have any questions, you can always turn to the Microsoft Managed Newsgroups. You can use the web browser version, set up Outlook Express for Newsgroups or use Google Groups. A very active .NET community is out there and ready to help you with your questions.

2 Responses to “Debugging ASP.NET 2.0 with Visual Studio 2005”

  1. Brennan’s Blog » Blog Archive » Reasons to Blog and Tips to do it Well Says:

    [...] over the last couple of years, I have targeted areas that are not covered well on MSDN. I have a few entries on debugging that get a good deal of traffic. I find those entries are the most useful so I intend to do more of [...]

  2. Outlook Express Help Says:

    Saturn Outlook: The Cheapest In Its Family

    For the past years, it seems that General Motors has neglected its wholly-owned subsidiary Saturn. Recently, the Michigan-based car manufacturer decided to increase the offering of the Saturn brand with the crossover Outlook. The midsize crossover util...