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.