2

I am having issues with VS2010 and debugging an ArcGIS add-in. The problem is that when there is an exception, it will not break on it and ArcMap(10.1) just crashes ("ArcMap has encountered....").

I can see the exception in the VS Output window ("A first chance exception. of type ..."), but it's tedious trying to track down where the error occurred.

Also, I have no problems setting manual break points and it will stop at them.

Anybody know how to resolve this issue?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 29, 2013 at 5:11
2

1 Answer 1

1

This type of project is com project.

In default setting Common Language Runtime (COM) project will not throw exception.

You have to activate it in Debug->Exception (Ctrl+Alt+E) dialog box to break on break points.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Jun 14, 2014 at 3:50

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.