From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Set the start-up project - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Set the start-up project
- [Instructor] Before we get to the concept of debugging the application, let's look at the idea of the startup project. When you open a solution that has more than one project, like this one has a DebugConsole and a DebugWph application, by default, only one of these can be what's known as the startup project. This is the one in bold, so the DebugConsole is the startup project. That's means that if I go to debug and choose start debugging, it will debug this application. You can switch to another project by right clicking and choosing set a startup project. Now you see the bold is on DebugWpf, and then means when I go to debug, start debugging, it will debug the other project. Now, this is important because as you go through the course and you open different projects, you may have a different startup project than the one I'm using in the example.
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
-
-
-
-
-
-
-
-
-
-
-
-
Set the start-up project49s
-
Use breakpoints effectively6m 27s
-
Step through code in the debugger7m 21s
-
Modify code while debugging with Edit and Continue3m 32s
-
See debug information with DataTips4m 51s
-
Use the Watch, Locals, and Autos windows5m 13s
-
Beyond the basic breakpoint9m 2s
-
Evaluate performance with PerfTips3m 50s
-
-