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.
Modify code while debugging with Edit and Continue - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Modify code while debugging with Edit and Continue
- [Instructor] One of the more useful features of Visual Studio debugging tools is called Edit and Continue. This feature allows you to make changes to your code while debugging, then continue stepping through your code without any additional compilation steps from you. This beats the old model of debug, stop, write some new code, recompile and restart debugging. C#, C++ and Visual Basic are some of the languages that support Edit and Continue. This feature is turned on by default, which means you've probably used it without much thought, because it just works. If it is turned off, re-enable it by going to Debugging, General, look near the bottom of this list, for this one, make sure you have a check mark next to Enable Edit and Continue, and you're ready to go. The code I'm working on today is inside this solution. I have a WPF application that's calling some code in this RobotNameGenerator. This is what the application looks like when you run it. Click on this top button to get a…
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)
-