AndyMan

Debugging extension in Visual Studio 2010 difficulties

Discussion created by AndyMan on Jul 28, 2011
Latest reply on Jun 16, 2014 by kitchauhan
Hi all..

I have been moving code from my VS2008 ArcGIS 9.3.1 machine to the new VS 2010 ArcGIS 10.0 machine and have run into a problem.

One of my extensions has been moved across and had updates made to the References an now works just fine (Install and Debug) are working.

Another extenstion I am moving over (I didn't write it) has been moved over and updated to the VS 2010 (through the wizard that you get automatically) and it will not debug.

I get a message: "This code apears to have been optimized" and I cannot get the code to run in Debug mode (where I can step through it).

Any ideas?

Outcomes