Visual-studio – Can’t edit and continue when using Visual Studio 2010 on a 64 bit machine, app targets x86

64-bitedit-and-continuevisual studiovisual studio 2010x86

I'm having some problems with Edit and Continue when using Visual Studio 2010 on a Windows 7 64 bit machine. I've ensured the following

  1. Edit and Continue is enabled under Tools>Options>Debugging>Edit and Continue
  2. My solution platform is set to x86
  3. My solution configuration is set to Debug
  4. All my projects are building for Debug and x86
  5. For all projects under Projects>Properties>Build the Optimize code is unchecked

When I hit a break point and try to edit I and confronted with the following message.

Changes are not allowed in the following cases
(source: sedotech.com)

This is happening for me for all projects that I create whether they are WPF/Win Forms/VB.NET/C#/.NET 4/.NET 3.

Any ideas?

Best Answer

OK guys I figured it out. The other night I was playing around with IntelliTrace and changed the setting to collect call information. I didn't notice the warning on that page stating "Edit and continue is disabled when collecting Call Information"! See screen shot.

IntelliTrace settings
(source: sedotech.com)

So I just disabled that and I was good to go. Thanks, that was really annoying.