I am beginning to write an extension in Python, but I am very frustrated, for I don’t succeed to get any report when Python crashes/stops.
I have changed the configuation values in OpenOffice.org 3\Basis\program\pythonscript.py :
Code: Select all
#LogLevel.use = LogLevel.NONE # production level
#LogLevel.use = LogLevel.ERROR # for script developers
LogLevel.use = LogLevel.DEBUG # for script framework developers
LOG_STDOUT = False # True, writes to stdout (difficult on windows)
# False, writes to user/Scripts/python/log.txt
ENABLE_EDIT_DIALOG=False # offers a minimal editor for editing.
This way, debugging is extremely difficult.
What should I do?
If there is no solution, where is stdout on Windows? That would be better than nothing.