Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't edit and continue when using Visual Studio 2010 on a 64 bit machine, app targets x86

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?

like image 901
Sayed Ibrahim Hashimi Avatar asked May 08 '10 21:05

Sayed Ibrahim Hashimi


People also ask

How to disable Debug mode in Visual Studio?

To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.

How to enable Debug in Visual Studio?

In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.


1 Answers

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.

like image 69
Sayed Ibrahim Hashimi Avatar answered Sep 21 '22 00:09

Sayed Ibrahim Hashimi