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?
-
Do you have 'break on exception' enabled? msdn.microsoft.com/en-us/library/vstudio/d14azbfh.aspxDevdatta Tengshe– Devdatta Tengshe2013年11月29日 07:34:53 +00:00Commented Nov 29, 2013 at 7:34
-
1Yes, that worked.jger– jger2013年11月30日 19:40:50 +00:00Commented Nov 30, 2013 at 19:40
1 Answer 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.
Explore related questions
See similar questions with these tags.