Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi, I have a question that how to debug python extensions. for example how
to debug 4.3.3.2_build/instdir/program/pythonscript.py,
Now i debug the file by write debug information in log.txt, but it's too
trouble.
src/pyuno/README file say that
To have much joy debugging python extensions you need to:
  a) edit pythonloader.py in your install setting DEBUG=1 at the top
  b) touch pyuno/source/module/pyuno_runtime.cxx and 'make debug=true' in
pyuno

Then you'll start to see your exceptions on the console instead of them
getting lost at the UNO interface.
I have done it like this , but it's useless.

another question
in src/scripting/source/pyprov/pythonscript.py.
why the parameters of out and outindex have not been used.

​waiting for you help, thank you!

PNG image


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.