Hi everyone,
I am writing som ePython scripts to automate some processes. I made these scripts available through new menu entries. The problem is that it is hard to debug with this kind of scripts - the script simply exits when there is an error, without saying at which line the error is.
If I run the scripts using the Tools/Run Script entry, then I can find where the error lies, but this is not the most convenient debug workflow. So my question is :
Do you have an idea on how to debug these scripts run from a menu entry ? What are you using to write your Python scripts (I am using Notepad++, but there is no Python auto-completion like there is in the Photoscan command line (using Ctrl+Space) for example. I cannot use PyCharm for example since I have no access to PhotoScan.py library (which is normal, but annoying when writing large scripts).
Thanks a lot for your help !
Jonathan