Debugging Web Applications
Debugging Web applications is easier in .NET because we are debugging Visual Basic .NET in the code-behind file, but it is still not easy. Debugging a Web application is harder than debugging a Windows application because we have several places to look for bugs. Pesky bugs can hide in the HTML, the code-behind file, some SQL stored procedure, or some script somewhere. Unfortunately, tools for debugging all these things are not as advanced as tools for debugging plain old VB code are.
Fortunately, there are some things you can do that may surprise you. You can set breakpoints in the HTML or ASP supporting a Web page or user control. You can use the same System.Diagnostics tools like Trace, Debug, and Assert that you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access