Debug Build of Python

Discussion in 'Python' started by Mark E. Fenner, Feb 21, 2007.

  1. 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
    Mark E. Fenner, Feb 21, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike C. Fletcher
    Replies:
    3
    Views:
    976
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Oct 12, 2003
  2. Shankar KN

    Python Installation (Debug Build)

    Shankar KN, Aug 12, 2004, in forum: Python
    Replies:
    0
    Views:
    279
    Shankar KN
    Aug 12, 2004
  3. Adam Tomjack

    Embedded python debug build crashing.

    Adam Tomjack, Aug 27, 2005, in forum: Python
    Replies:
    0
    Views:
    311
    Adam Tomjack
    Aug 27, 2005
  4. Celine & Dave

    Python Debug Build

    Celine & Dave, Oct 3, 2005, in forum: Python
    Replies:
    0
    Views:
    388
    Celine & Dave
    Oct 3, 2005
  5. Replies:
    0
    Views:
    535
Loading...

Share This Page