From the course: Learning Visual Studio Code (2017)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Debugging - Visual Studio Tutorial
From the course: Learning Visual Studio Code (2017)
Debugging
- [Instructor] Let's go ahead and talk about debugging. Now, we're going to be debugging the .net application that we created. So I am currently in the folder where that project is, MyDotnet, and I'll launch code. Now, what I'd like you to do is navigate down to the startup file, startup.cs and place a breakpoint on line 20. And to start the debugging process, click on the debug icon in the view bar, and then the start debugging button, which is the green arrow. First thing that I'd like you to notice is at the very bottom, the status bar became orange. So whenever we're debugging, that status bar is always orange. Now, starting off at the top of the screen, you'll see that there's a little toolbar here that has the green arrow, which is now the continue button, followed by step over, and then step into, step out of, and a restart debugging process. And the last button is, of course, to stop. On the sidebar, you'll see there's quite a bit of information that's given to us, and that's…
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.