How To Debug With Breakpoints In Asp.Net


show more Debugging with breakpoints provides you with in-depth training on Developer. Taught by David Gassner as part of the ASP.NET Essential Training show less
please wait ...

Debugging with breakpoints

Another tool that you can use when you are programming in either Visual Basic or C# and you want to see what's going on inside the code is to set breakpoint. A breakpoint is a way of marking the bit of code, so that when you hit the break point the application is suspended for a moment. As long as the breakpoint is active, you can then inspect the values of variables and other aspects of your application state. For this demonstration I'll start with the file LoopingCSharp. aspx. This file already has the For and the While loops inside the Run Button Click method.

I will save this file under a new name, naming the new version Breakpoints.aspx. You can set a breakpoint on any line of code. You can do this in a couple of ways. One approach to creating breakpoint is to right click on the line and then select Breakpoint, Insert Breakpoint. You will see that that results in selecting the code and highlighting it and you will also see a really large graphic on the left side of the scr...

Debugging with breakpoints
Video duration: 5m 45s 6h 24m Beginner Updated Feb 13, 2013

Viewers:

Debugging with breakpoints provides you with in-depth training on Developer. Taught by David Gassner as part of the ASP.NET Essential Training

Subjects:
Developer Web
Software:
ASP.NET
Author:
please wait ...