Chapter 13. Debugging ASP.NET Overview

Okay, so you've jumped into .NET programming, and you've built your first (or tenth or hundredth) ASP.NET page. It compiles just fine, but it refuses to work right, returning the wrong value or stopping execution unexpectedly. What now? Returning to your ASP roots, you prepare to start inserting Response.Write statements throughout the code. But wait! There is a better way! Among its many improvements to ASP, ASP.NET provides several application-level improvements to the process of debugging, and Visual Studio.NET goes further to include a debugger that allows you to step through your code line by line, just as if it were a local VB application. So don't add that Response.Write—read on and see how things ...

Get ASP.NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.