bdridaho

error in debug only - run mode operates fine

Discussion created by bdridaho on Dec 28, 2013
In my Python script tool, there are functions that cause an exception ONLY in DEBUG mode. The tool completes successfully (performing every function that is coded) when "RUN" with exactly the same parameters. The exception gets raised, in one instance, with a call to Merge.management at the point in management.py within the call to "convertArcObjectToPythonObject"
This occurred in 10.0 and now occurs at additional function calls in 10.1. The issue is reproducible using PythinWin and Pyscripter.
It is almost impossible to debug anything with such red-herring behavior. Again, the exceptions DO NOT occur in RUN mode....

Any suggestions?

Bill D.

Outcomes