The debugging of Python in Grasshopper Script editor often does not show exact line of error.
I most often need to wrap my code around try statement:
try:
...
except Exception as e:
import traceback
traceback.print_exc()
I am wondering why this is not default case?
For instance I get an error, it names or does not, and does not tell exact line. It feels there is some sort of try catch statement in ScriptEditor but it is not fully printed for a user…
2 posts - 2 participants