Friday, September 11, 2009

VS 2008 Debugging Issue

Yesterday, I was using VS 2008 and attempting to debug a project by stepping code. Any attempt to step (F5, F10, etc) resulted in a dialog box telling me:

Edits were made which cannot be compiled. Execution cannot continue until the compile errors are fixed.

This problem can be fixed by turning off "Edit and Continue" in VS 2008. To do so, go to Tools->Options->Debugging->Edit and Continue. Uncheck "Enable Edit and Continue".

See also this thread.

No comments: