From the course: Visual Basic Essential Training

Unlock the full course today

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

Add breakpoints to code

Add breakpoints to code - Visual Basic Tutorial

From the course: Visual Basic Essential Training

Start my 1-month free trial

Add breakpoints to code

Breakpoints are a fundamental tool in the bugging application code. In this video, I'll show you some of the breakpoint basics. I've got two handlers that I'll use for the demonstration. In this first handler, I'm declaring some variables and then I'm building up the string and outputting it to the screen on line 9. In the second handler, I'm declaring some numeric variables, I'm doing some math operations, and then I'm outputting the results. The only purpose of this code is to have a place to put breakpoints so I can show you how to add and remove breakpoints, and some of the other tools inside of Visual Studio. I'll add a breakpoint to line 7. One way to do that is to go to the left side of the screen and click on this gray margin. You'll see a red dot appear, that red dot represents a breakpoint. You'll also notice the background of that line of code has changed to red. These are both indicators that…

Contents