Random Findings as a Developer

May 22, 2011

Visual Studio 2008 – Enable Code Modifications When in Debugging Mode

Filed under: Visual Studio — Andrew @ 3:37 pm

Today I was playing with Visual Studio 2008 and I went to run my application in debugging mode.  After running it, I realized that there was a small issue that I wanted to resolve but I didn’t want to terminate the Web Application fully (i.e. just modify the code and then recompile).  When I started typing, I got a nice little slap in the face from Visual Studio as seen below:

Visual Studio 2008 - Edit and Continue

Debugging Error Message


After some hunting around on Google I came across a bunch of Stack Overflow posts that told me how to allow me to disable that nice little slap in the face in order to allow me to continue to code.  To do this you must do the following (while the application is not running in debug mode):

  1. Click on “Tools”
  2. Click on “Options”
  3. Select “Debugging”
  4. Click on “Edit and Continue”
  5. Uncheck the “Enable Edit and Continue”


Visual Studio 2008 - Options - Edit And Continue

Disabling Edit and Continue

After following those steps I was good to go.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress