In Visual Studio you are allowed to modify the code during debugging the code. It means that the developer is provided full freedom while debugging and that will increase productivity in the critical development phase.
In Visual Studio, such a feature is disabled by default. Whenever you try to modify the code during debugging, then Visual Studio displays the following error message
Here is the video that demonstrates how this error message appeared while debugging the modified code at run-time.
Enable Edit and Continue execution in Visual Studio:
Follow the below steps to allow code edit and execution during run-time debugging.
– Article ends here –