https://bugs.documentfoundation.org/show_bug.cgi?id=106215

            Bug ID: 106215
           Summary: Debugging Python is hard and activating it needs
                    editing essential files
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: d_...@ymail.com

Description:
Story: As a (beginning) Extension Developer I want to be able to inspect/debug
existing extensions to find out how they work and also debug my own extensions.
I would like to read log output and ideally attach a remote debugger.  



Steps to Reproduce:
After some searching, I was able to find that, for debugging, I need to change
pythonscript.py to set LogLevel.use = LogLevel.DEBUG and also need to set the
Environment variable PYUNO_LOGLEVEL=ARGS

(see https://wiki.openoffice.org/wiki/Python and
http://ooo-forums.apache.org/en/forum/viewtopic.php?f=20&t=66276 ) 

Actual Results:  
After doing the changes I still could not get any debug output for my code. 
Remote debugging I did not try, however, it seemed to rely on custom code where
I saw such (see:
https://github.com/XRoemer/Organon/blob/master/source/py/factory.py#L51)

Expected Results:
1) An up-to-date guide to set the needed changes with some examples. Currently
all needs to be collected at various places, some being rather old
(openoffice-wiki etc.)
2) Better, I switch I can set via command line or even via the GUI that does
needed changes for me, thus avoiding mistakes by interfaceing the needed
settings. 



Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101
Firefox/51.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to