Re: how to debug python extensions.

2016-03-22 Thread Michael Stahl
On 20.03.2016 14:48, meilin wrote: > 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 fil

Re: how to debug python extensions.

2016-03-22 Thread X Roemer
Thanks for your information. I didn't know, where I got it from anymore. Do you use a linux distro? If so, does it work without problems? I'm still looking for a solution. Best, Xaver Am 21.03.2016 um 13:25 schrieb Bjoern Michaelsen: Hi, On Sun, Mar 20, 2016 at 03:07:52PM +0100, X Roemer wro

Re: how to debug python extensions.

2016-03-21 Thread Bjoern Michaelsen
Hi, On Sun, Mar 20, 2016 at 03:07:52PM +0100, X Roemer wrote: > I use Eclipse and pydev, which works very well on windows. I can inspect all > variables and get error messages. see also: http://people.canonical.com/~bjoern/presentations/snakes.odp Best, Bjoern __

Re: how to debug python extensions.

2016-03-21 Thread X Roemer
ce/py/factory.py You need to install pydev inside Eclipse. Start the pydev server. Set a pd() inside of your code. Your code should stop at pd() and you can inspect the variables. Best, Xaver Am 20.03.2016 um 14:48 schrieb meilin: Hi, I have a question that how to debug python extensions

how to debug python extensions.

2016-03-20 Thread meilin
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