laptop and a wrench

Bug

ArcMap crashes while debugging Add-ins.

Zuletzt veröffentlicht: August 25, 2014 ArcGIS for Desktop
Bug-ID-Nummer NIM061526
EingereichtSeptember 27, 2010
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS for Desktop
Gefunden in Version10.0
ProgrammspracheVB.Net
BetriebssystemWindows OS
Betriebssystemversion2008
StatusWill Not Be Addressed

Zusätzliche Informationen

No Public Explanation

Workaround

Putting the code inside Try-Catch block does not cause the ArcMap to crash.User replied that the workaround does not work for him. Sometimes Arc Map crashes even if we put the code inside Try-Catch block.User’s comments:“I reported, as an alternate solution, that putting the code inside Try-Catchblock can avoid the ArcMap crashing while debugging.However, some code does make it crash even if it's inside Try-Catch block.Please try to debug the attached solution file, add the Add-in button called"Test_Exception" from "Add-in Controls" category, and run it. An exceptionoccurs at the first line inside Try-Catch, and Arc Map will crash.”From Steve Van Esch:The Try Catch code is incorrect, the Catch is explicity being set to trap only COM exceptions, in my case I was getting an index out of bounds exception. Not qualifyingthe Catch will allow it to trap all exceptions. Catch End Try

Schritte zur Reproduzierung

Bug-ID: NIM061526

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln