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

Modify code while debugging with Edit and Continue - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

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…

Contents