laptop and a wrench

Erro

ArcMap crashes while debugging Add-ins.

Última Publicação: August 25, 2014 ArcGIS for Desktop
Número de ID do Erro NIM061526
EnviadoSeptember 27, 2010
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
Idioma do programaVB.Net
Sistema OperacionalWindows OS
Versão do Sistema Operacional2008
StatusWill Not Be Addressed

Informações Adicionais

No Public Explanation

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: NIM061526

Software:

  • ArcGIS for Desktop

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download