From the course: Visual Studio 2019 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, Locals, and Autos windows - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Use the Watch, Locals, and Autos windows
- [Instructor] In this video, we'll look at three dockable ToolWindows that pull the bug information from your code and show it in a live grid. To start, I will debug this application, so I'll go up and click on this Start button here, click on the Watch Window button, and then, I'm at my breakpoint. So let's take a look at what's across the bottom of the screen. There's a number of debugging windows down here. There's a Call Stack, Breakpoints, all these windows over here. And then, on the lower left-side the screen are the three windows we're looking at, the Autos, Locals, and Watch. The Watch window is where you can add any variable and exam while debugging. The Autos and Local windows are two special Watch windows in which the variables are automatically added by the debugger. They behave very similar to the Watch window, except you cannot add variables yourself. If you don't see these windows, make sure you're at a breakpoint, and then, you can go to the Debug menu and choose…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Set the start-up project49s
-
(Locked)
Use breakpoints effectively6m 27s
-
(Locked)
Step through code in the debugger7m 21s
-
(Locked)
Modify code while debugging with Edit and Continue3m 32s
-
(Locked)
See debug information with DataTips4m 51s
-
(Locked)
Use the Watch, Locals, and Autos windows5m 13s
-
(Locked)
Beyond the basic breakpoint9m 2s
-
(Locked)
Evaluate performance with PerfTips3m 50s
-
(Locked)
-