From the course: ASP.NET Web Forms Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debugging an ASP.NET Web Forms application

Debugging an ASP.NET Web Forms application - ASP.NET Tutorial

From the course: ASP.NET Web Forms Essential Training

Start my 1-month free trial

Debugging an ASP.NET Web Forms application

- [Instructor] I know that you don't write bugs, and neither do I, but what happens when that misfortune just happened and we do write some of them? How can we fix that? One way to do it is actually to start understanding the application when we are developing it and to try to look exactly how it behaves at runtimes, and in order for us to understand this behavior, we need to be able to stop inside our application. So let's assume that I identified somehow that my error would happen around this point in here, and let me hide the Solution Explorer so we have a little bit more real estate in here. So I have an idea that the error would happen here, so one way for me then to see how the application behaves would be to insert a so-called breakpoint. In order for me to that, I have several options. One of them would be to press F9. The other one would be to press this gray column in here, and then, I can press it again to remove it, and another one would be to right-click, choose…

Contents