Debugging an ASP.NET Web application - C#.NET

Explain how to debug an ASP.NET Web application.

Debugging means running code line by line to fix bugs and errors in the program at development stage.

Tracing means monitoring execution of the application in the live environment.

Visual Studio.NET provides following tools for debugging:

Integrated debugger: This is integrated with visual studio and includes features like Breakpoints, Stepping, and Data Viewing for debugging.

Visual debugger: This is a separate tool and is used to fix complex bugs. You can find at "\Microsoft Visual Studio 8\SDK\v2.0\GuiDebug\DbgCLR.exe"

We use breakpoints to debug an application. Breakpoints pause the execution of a running program and a developer can check the execution path and values of variables.
Purpose of tracing levels in System.Diagnostics.TraceSwitcher - C#.NET
C#.NET - purpose of tracing levels in System.Diagnostics.TraceSwitcher - Five levels range from none to Verbose, allowing fine-tuning the tracing activities...
Difference between the Debug class and Trace class - C#.NET
C#.NET - Difference between the Debug class and Trace class - Debug class is used for debug builds while Trace class is used for both debug and release builds...
Role of the DataReader class in ADO.NET connections - C#.NET
C#.NET - Role of the DataReader class in ADO.NET connections - DataReader class returns a read-only dataset from the data source when the command is executed...
Post your comment