How to tweak Esri add-on tools

المشرف العام

Administrator
طاقم الإدارة
So, I recently got an add-on to play with. The tool itself is contained in a tbx file.

So, the problem: I'd like to see how the tool runs in a debugger to get a better idea of how it works. I've tried several paths to this, but all of them seem to have failed:

1) Open in visual studio, or some other IDE: the windows explorer, of course, does not recognize .tbx as a container, and just displays garbage.

2) Right click the tool and use the "Debug" option: tool runs as usual, but I have no control over stepping, breakpoints, etc. I can't see the code as it is running.

3) Right click the tool and use the "Edit" button: python script opens in NotePad. There doesn't seem to be a way to choose another editor. Of course, notepad doesn't have a build or compile option, so I can't modify the code even to print output.

4) Copying the code into Visual Studio and running it there: when trying to run debug from ArcMap, I run into this issue



أكثر...
 
أعلى