laptop and a wrench

漏洞

ArcMap crashes while debugging Add-ins.

上次发布: August 25, 2014 ArcGIS for Desktop
漏洞 ID 编号 NIM061526
已提交September 27, 2010
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0
编程语言VB.Net
操作系统Windows OS
操作系统版本2008
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

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

重现步骤

漏洞 ID: NIM061526

软件:

  • ArcGIS for Desktop

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项