Debugging ASP.NET and AJAX Applications

This topic applies to:


Visual Basic




Web Developer


Topic does not applyTopic does not applyTopic does not applyTopic does not applyTopic applies

Pro, Premium, and Ultimate

Topic appliesTopic appliesTopic does not applyTopic does not applyTopic applies

Debugging ASP.NET Web applications is similar to debugging a Windows Form or any other Windows application because both kinds of applications involve controls and events. However, there are also basic differences between the two kinds of applications:

  • Keeping track of state is more complex in a Web application.

  • In a Windows application, the code to be debugged is mostly in one location; in a Web application, the code can be on the client and on the server. While ASP.NET code is all on the server, there might also be JavaScript or Visual Basic code on the client.

Preparing to Debug ASP.NET

Describes the steps that are required to enable debugging of ASP.NET applications.

Debugging Web Applications

Discusses how to debug a ASP.NET application, including AJAX-enabled script applications.

Exception Handling (Debugging)

Explains why Just My Code must be enabled for debugging ASP.NET exceptions.

Debugging and Tracing Ajax Applications Overview

Discusses some techniques and tools that can help you debug your AJAX code.

Community Additions