Can't debug BaseCommand class library in Visual Studio 2010.

691
1
11-13-2013 03:14 AM
KiranBandal
New Contributor
Hello,

I am developing a ArcObjects BaseCommand in Visual Studio 2010, ArcGIS 10.2. The target framework is 3.5 and the target platform is x86. When I set the breakpoints in the code and run it, the ArcMap starts and the code is executed without hitting the breakpoints.They are simply skipped.

I tried adding the below line in te ArcMap.exe config file but no use. Th Visual Stdio reports the error that the target .net framework is newer and it can't debug this process.

<supportedRuntime version="v3.5.30729.5420"/>

The breakpoints are simply skipped out and are not being hit.

I am running on Windows 7 - 64 bit.

Any help is appreciated.

Thanks,
Kiran.
0 Kudos
1 Reply
RichardWatson
Frequent Contributor
Look at the Modules Window and see where the system is loading your code from:

http://msdn.microsoft.com/en-us/library/vstudio/4c8f14c9.aspx