C++ FAQ - How to use Edit and Continue Option in debugging
Edit & Continue is a debuggng feature and you can use it if your program size is small. This feature allows you to make code changes when you are debugging and continue execution with out restarting.
To enable this feature, you have make changes in project settings as shown below. Set debug information format to "Program Database for Edit & Continue (/ZI) option.