Debug Build of Python

M

Mark E. Fenner

Hi all,

Just curious how to get an "all bells and whistles" debug build of python.
In the source for 2.4.3, I see the following debug related options:


From README:
(1)
e.g. "make OPT=-g" will build a debugging version of Python
on most platforms
(2)
Additional debugging code to help debug memory management problems can
be enabled by using the --with-pydebug option to the configure script.


From Misc/SpecialBuilds.txt:
This file describes some special Python build types enabled via
compile-time preprocessor defines.

Here we have a bunch of defines documented. Where should these be be set?
Is there a particular .h file? Are any of them implied by the debugging
options to make and ./configure?

Regards,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top