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 - Visual Basic Tutorial
From the course: Visual Basic Essential Training
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,…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Optimize the Visual Studio settings2m 14s
-
Create Console project in Visual Studio2m 29s
-
(Locked)
Examine the template structure and code2m 44s
-
(Locked)
Edit the code3m 51s
-
(Locked)
Compile the project code1m 58s
-
(Locked)
Run the example code from Visual Studio2m 49s
-
(Locked)
Run the example code with a debugger1m 51s
-
(Locked)
-
-
What applications can you create?2m 13s
-
(Locked)
Add additional projects to the solution2m 31s
-
(Locked)
Review the Visual Studio Project template code3m 33s
-
(Locked)
Choose a startup project3m 8s
-
(Locked)
Work with a Windows UI project3m 48s
-
(Locked)
Add click event handler code3m 13s
-
(Locked)
Add TextChanged event handler code2m 21s
-
-
-
Work with variables and constants4m 56s
-
(Locked)
Use the Code Explorer project1m 59s
-
(Locked)
Declare a variable6m 30s
-
(Locked)
Tips to make literals pop in the editor2m 34s
-
(Locked)
Work with custom and built-in constants3m 54s
-
(Locked)
Understand variable scope5m 42s
-
(Locked)
Understand numeric to numeric conversions5m 54s
-
(Locked)
Convert numeric values5m 43s
-
(Locked)
Convert and format numbers to string6m 39s
-
(Locked)
Convert and parse string to numbers5m 59s
-
(Locked)
Work with strings7m 11s
-
(Locked)
Work with dates and times9m 21s
-
(Locked)
Challenge: Strings, dates, and parsing52s
-
(Locked)
Solution: Strings, dates, and parsing2m 5s
-
-
-
Understand procedures and methods3m 42s
-
(Locked)
Add procedures to module3m 35s
-
(Locked)
Call procedures from the application1m 27s
-
(Locked)
Add procedures to class1m 50s
-
(Locked)
Add code to functions2m 22s
-
(Locked)
Use parameters with procedures4m 37s
-
(Locked)
Challenge: Refactor with parameters1m 14s
-
(Locked)
Solution: Refactor with parameters3m 9s
-
-
-
(Locked)
Explore the arithmetic operators3m 24s
-
(Locked)
Explore the comparison and logical operators5m 56s
-
(Locked)
If and Else5m 16s
-
(Locked)
Use the And, Or logical operators3m 13s
-
(Locked)
Use AndAlso, OrElse for better performance2m 48s
-
(Locked)
Select Case3m 30s
-
(Locked)
Challenge: Logic statements and string compare1m 50s
-
(Locked)
Solution: Logic statements and string compare3m 16s
-
(Locked)
-
-
(Locked)
Explore the collection classes5m 44s
-
(Locked)
Create new collections4m 49s
-
(Locked)
Add, remove, and interact with items from list8m 37s
-
(Locked)
Iterate over list5m 39s
-
(Locked)
Interesting list properties4m 42s
-
(Locked)
Work with extension methods2m 40s
-
(Locked)
Use LINQ with lists5m 14s
-
(Locked)
Quick look at other collection classes2m 19s
-
(Locked)
Challenge: Marble draw with lists3m 32s
-
(Locked)
Solution: Marble draw with lists4m 41s
-
(Locked)