This documentation is archived and is not being maintained.

Debugging ASP.NET and AJAX Applications

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 and Services

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

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.