Debug Build of Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark E. Fenner

    #1

    Debug Build of Python

    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.t xt:
    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
Working...