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 <ronaldousso...@mac.com> wrote: > 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 value of 'CONFIG_ARGS' . > > Ronald > > On 2 Jun, 2009, at 2:14, Bill Janssen wrote: > > > 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 what ships with OS X 10.5.7? > > > > I don't intend to replace the system Python; I just want to match > > it as closely as possible for debugging. > > > > Bill > > _______________________________________________ > > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > > http://mail.python.org/mailman/listinfo/pythonmac-sig > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig