Debugging ASP.NET and AJAX Applications
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
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 This Section
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.
Managing Exceptions with the Debugger
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.
Debug your code faster by using IntelliTrace to record and review a history of your application's state without restarting the application as frequently. You can see information about events and calls that occur during the running of your application and start debugging from these points in time. Requires Visual Studio Ultimate.