Python Toolbox Tool Validator debugging

406
1
11-01-2012 12:58 PM
Status: Implemented
Labels (1)
GusMartinka
Occasional Contributor
I would like the ability to debug python toolbox code like a regular script. Currently my IDE (Both Pyscripter and Visual Studio 2010) cannot step through the pyt in a logical way. Breakpoints in updateParameters() are never honored and breakpoints in getParameterInfo() are rarely honored. If there is a way to do this currently, I would love to see it.
1 Comment
HannesZiegler
Status changed to: Implemented

Hi @GusMartinka & co

Sorry for the belated response, this has been implemented in the more recent releases of ArcGIS Pro, please see https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/debugging-python-code.htm.

Happy debugging!