Sams Teach Yourself ASP.NET in 21 Days, Second Edition By Chris Payne
Table of Contents
Day 20. Debugging ASP.NET Pages
That's Not ASP!
ASP.NET definitely has more debugging capabilities than traditional ASP. Many classic ASP developers will be familiar with the Response.Write method of debugging, and it's still fully supported in ASP.NET.
However, now there are better methods of debugging applications. The trace tool provides a lot of information that you can use to debug and analyze the performance of your application. In classic ASP, the closest thing to this was using Response.Writes to output the information used by your pages.
Also, since ASP.NET pages are compiled, you can use a runtime debugger such as the Common Language Runtime Debugger. This tool provides methods for watching the state of your application. Again, classic ASP had nothing of the sort.
Debugging support in ASP.NET is greatly improved over traditional ASP. You can now use actual debugging tools instead of coping with the limited information that Response.Write provides. This will allow you to build stronger, more bug-free applications.