Debugging ASP.NET Web Applications
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Debugging ASP.NET Web 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 place; 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 may also be JavaScript or Visual Basic code on the client.

In This Section

Getting Ready to Debug ASP.NET Applications

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

Debugging ASP.NET Web Forms and XML Web Services

Discusses debugging a Web application that is already deployed and running on a server. Information includes considerations and steps for debugging.

Related Sections

Debugging Web Applications

Describes common debugging problems and techniques you may encounter when debugging Web applications. Sections include: debugging ASP.NET and ASP Web applications, debugging ATL Server Web applications, Web server debugging errors, and troubleshooting.

Exception Handling (Debugging)

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

See Also

© 2016 Microsoft