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.

Use the Watch windows

Use the Watch windows - Visual Basic Tutorial

From the course: Visual Basic Essential Training

Start my 1-month free trial

Use the Watch windows

- [Instructor] In this video, we'll look at three dockable tool windows that pull debug information from your code and show it in a live grid. Plus we'll look at the debug tooltip called the data tip. I've added two break points, one in line nine and one in line 14, and then I'll start and debug the app. Step into the first line of code. A data tip is shown when you hover your mouse over a variable. So if I hover over maxValue, that's a data tip. And I can also see it here in the parameter. This tells me the name of the parameter, and the current value. Let's look at some more interesting data. I'll go down to this GetOddOrEven. Remember that you can move to this section by clicking on the fast forward or move execution here button. Now I can hover over candidate, or wantOdd, or this remainder value. That's what a data tip is. You hover your mouse over a variable, and you get a data tip. Data tips are great,…

Contents