Problem with debugging ArcMap Addin in Eclipse

3851
0
05-25-2015 07:08 AM
HaoyiXiong2
New Contributor

Hi, I'm using the Java SampleAddin to test the debugging function in Eclipse. I have enabled the extension debugging and Java interop logging (ArcObjects Help for Java developers). Eclipse can connect to ArcMap when I using remote debug. However, when I debug my addin, I cannot find any toolbar or addin installed in ArcMap from the Addin Manager. So, the breakpoints I inserted to my code cannot be hit...

I thought Eclipse might need deploying the addin to ArcMap (This is automatically done in Visual Studio and .NET when debuging). Then I installed the deployed addin to ArcMap and remote debug the codes. It says breakpoint cannot be inserted and the reason is absent line number information. However, I checked the Window -> preference in Eclipse and the line number is enabled. I tried simply clicking a button in the sample toolbar, but the breakpoints inserted at the corresponding codes cannot be hit.

Any solution to this?

Tags (3)
0 Kudos
0 Replies