Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Error handling and logging when developing ArcMap Add-Ins?

$
0
0
Hi,

1.) Error handling and logging
What's the best practice for error handling when developing ArcMap Add-Ins?

If an unhandled exception occurs, ArcMap just closes und presents an "Please inform ESRI about this problem"-dialog.

Is there any way to change this behaviour to get the originial error message and/or at least some rough hints where the code failed?
Or is there any kind of errorlog, which gives more informations for the developer?

2.) exception handling
What's the recommended way to handle exception? Is there any reluctance about Try..Catch on the most damageable spots?


Any hints or tips appreciated.

TIA,
Fossi

Viewing all articles
Browse latest Browse all 1374

Trending Articles