Unable to edit and continue using Visual Studio 2010 on a 64-bit machine, x86 targets

I am having some problems with Edit and continue when using Visual Studio 2010 on a 64-bit machine with Windows 7. I provided the following

  1. You can edit and continue in Tools> Options> Debugging> Modify and continue
  2. My solution platform is installed on x86
  3. My solution configuration is set to debug
  4. All my projects are created for Debug and x86
  5. For all projects, under Projects> Properties> Build Optimization Code is not checked

.When I reach the breakpoint and try to edit I, I come across the following message.

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

This happens to me for all the projects that I create, be it WPF / Win Forms / VB.NET / C # /. NET 4 / .NET 3.

Any ideas?

+43
x86 64bit visual-studio visual-studio-2010 edit-and-continue 64-bit
May 08 '10 at
source share
13 answers

OK guys, I figured it out. One evening I played with IntelliTrace and changed the setting for collecting call information. On this page, I did not notice a warning that “Editing and continuing is disabled when collecting call information”! See screenshot.

IntelliTrace settings
(source: sedotech.com )

So I just turned it off and I was good to go. Thanks, it was really annoying.

+30
May 08 '10 at 23:11
source share

Another solution is to check if any third-party links are included, and check their options: Insert interaction types. Set the value to False.

+9
Mar 12 2018-11-11T00:
source share

Another option for checking the edit and continue options.

Go to "Project Properties" and check the box "Enable Editing and Continue"

enter image description here

+6
Sep 10 '13 at 12:52 on
source share

I found a problem!

In Precompilation option (in Project properties ) Uncheck Enable optics

+3
Jul 24 '11 at 13:25
source share

It was also solved for me, noting that the solution configuration was released, not debug.

Changed it for debugging, and now I can edit and continue.

+2
Nov 04
source share

mine worked after i did the following

in advanced compilation options install the target processor on x86 (was installed on any processor)

and now it works fine.

+1
Feb 04 '14 at 5:50
source share

If you want to edit the code after compilation.

Just compile ctrl + F5

+1
Dec 09 '14 at 8:00
source share

another reason 1 Right-click the project file, then select Properties.
2-Compile → advanced compilation options.
3-Select to generate “full” instead of “pdb-only debug information”.

+1
Dec 31 '15 at 14:36
source share

On msdn website

http://msdn.microsoft.com/en-us/library/dd264944(v=vs.100).aspx

You can read about it:

"However, collecting calls and parameters will increase the overhead of performance, use additional disk space, and disable the" Edit and Continue "feature of the Visual Studio debugger."

0
May 7 '12 at 11:15
source share

In Visual Studio 2013, change and continue working for the x64 platform.

0
Apr 02 '14 at 15:40
source share

In the "Code Generation" section, make sure that "Enable Binding to Functional Level" is set to "Yes" (/ Gy).

0
Dec 28 '14 at 8:48
source share

It was also solved for me, noticing that the solution configuration was in debugging of AnyCPU, and Project - x86 debugging

Changed it to x86, and now I can edit and continue.

0
Nov 16 '15 at 10:56
source share

I have a solution for a unique situation.

My Edit and Continue started crashing in one function in VS2013. I found that this is due to the fact that I performed some operations with Office Interop in Excel in this function. I moved the Interop code to my own function, and Edit and Continue started working with the original function again.

0
Nov 08 '17 at 23:43 on
source share



All Articles