Compartilhar via


Debugging ASP.NET and AJAX Applications

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. 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 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.

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.

IntelliTrace
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.

See Also

Debugger Security
Debugging Web Applications and Script
Debugger Settings and Preparation
Debugger Basics