Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Yes, I do use the threading module, but it's not quite that simple. Some of my threads are actually running Java code, for PyLucene. This is part of UpLib, at http://uplib.parc.com/. Thanks for the pointers. Is there a home site for rpdb2? Or is it just part of winpdb? The nice thing about gdb

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Leonardo Santagada
On Jun 2, 2009, at 1:18 PM, Bill Janssen wrote: Actually, I'm debugging Python code, but it's running in a multi-threaded Python server. So I need to attach with gdb to see what's going on. It would be nice if "Thread Viewer" had the ability to decode Python stack traces. Thanks for the info

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Actually, I'm debugging Python code, but it's running in a multi-threaded Python server. So I need to attach with gdb to see what's going on. It would be nice if "Thread Viewer" had the ability to decode Python stack traces. Thanks for the info. I'll try building using the Apple sources. Bill

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Ronald Oussoren
On 2 Jun, 2009, at 17:26, Bill Janssen wrote: Thanks, Ronald. It looks to me as if MacPython already includes the -g flags appropriately (at least build-script.py does); could I just download 2.5.4 from python.org and use that for debugging? Not necessarily. Apple's version of python include

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-02 Thread Bill Janssen
Thanks, Ronald. It looks to me as if MacPython already includes the -g flags appropriately (at least build-script.py does); could I just download 2.5.4 from python.org and use that for debugging? Bill Ronald Oussoren wrote: > Apple has the sources of the open-source components of OSX on their

Re: [Pythonmac-SIG] Building a debug framework build of Python

2009-06-01 Thread Ronald Oussoren
Apple has the sources of the open-source components of OSX on their website, the python bits for 10.5.7 are here: http://www.opensource.apple.com/source/python/python-30.1.3/ . I haven't checked if this includes the configure invocation, although you could always use distutils to query the v

[Pythonmac-SIG] Building a debug framework build of Python

2009-06-01 Thread Bill Janssen
I'd like to be able to connect to my Python programs, mainly long-running servers, and see what's going on in specific threads. To do that, I need a version of Python that's compiled with debug symbols in it. What's the correct invocation to build a debug version of Python (2.5) which matches wha