I'm working with Python Addins and I created a button. The button doesn't work. I'm used to writing a script in IDLE or PythonWin and I've always throw in some error handling codes from:
http://resources.arcgis.com/en/help/...0000000q000000
This usually prints out the errors in the editor or as a geoprocessing tool sometimes I can go the 'Results' window to determine the error. Because I'm clicking on a button on a toolbar created through the Addin Wizard, I don't get to see why my tool is not running.
My question is, how do I do error handling using a python addin? Where I can print our error messages?
Thanks,
Mike
http://resources.arcgis.com/en/help/...0000000q000000
This usually prints out the errors in the editor or as a geoprocessing tool sometimes I can go the 'Results' window to determine the error. Because I'm clicking on a button on a toolbar created through the Addin Wizard, I don't get to see why my tool is not running.
My question is, how do I do error handling using a python addin? Where I can print our error messages?
Thanks,
Mike