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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動