Select to view content in your preferred language

Debugging Addin

961
2
07-09-2010 09:48 AM
ScottDavis
Frequent Contributor
I've got a new install of ArcGIS Desktop 10 with ArcObjects SDK and Visual Studio 2008. When I debug the several addins that I'm working on and run into an error, I get the "ArcGIS Desktop has encountered as serious application error..." dialog and then it closes without sending me back to Visual Studio in debug mode. This is making it very hard for me to find errors. Is there any way that I can configure Visual Studio to catch the errors before I get the dialog in ArcMap?
0 Kudos
2 Replies
RichardWatson
Deactivated User
Try the Debug/Exceptions menu in Visual Studio and tell it to break when exceptions are thrown.
0 Kudos
ScottDavis
Frequent Contributor
That was it. Thanks!
0 Kudos