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.
Step through code - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Step through code
- [Man] Once you have breakpoints in your code, you'll want to step through the code, and observe the behavior of the application. This video shows how to effectively navigate code while debugging. You can see, I have a break point on line eight, so lets start the application and hit the breakpoint. Click on this step through button. Now I've got the yellow mark, that indicates this is the next line of code that'll run. As I go through this video, I'll be using these buttons, and their associated keystrokes. Step into, step over, and step up. These have keybindings, on my computer its F11, F10, and Shift + F11. If you selected the visual basic developer configuration, when you install Visual Studio, your key commands will be different. For example, its F8 instead of F11. Now what do these mean? Start by looking step into, and there's a little icon up here that represents a function or a procedure, the box. So this says…
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)