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.
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.
Related Sections
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.Debug Your App by Recording Execution History with 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
Concepts
Other Resources
Debugging Web Applications and Script