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 file say that > To have

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
Hi meilin, I use Eclipse and pydev, which works very well on windows. I can inspect all variables and get error messages. On Linux pydev freezes my mouse clicks, so that's not much of a help. Take a look at lines 51 - 62 of this file: https://github.com/XRoemer/Organon/blob/master/source/py/f