Re: Python Debug Build

Discussion in 'Python' started by =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Oct 4, 2005.

  1. Fredrik Lundh wrote:
    > "Celine & Dave" wrote:
    >
    >
    >>What happens if I build Python with debug option
    >>(--with-pydebug)? Do I see any changes in my program
    >>output? What is --with-pydebug good for?

    >
    >
    > from the README:
    >
    > --with-pydebug: Enable additional debugging code to help track down
    > memory management problems. This allows printing a list of all
    > live objects when the interpreter terminates.


    And that's why it's very useful for when developing Python extension
    modules. Not only does it help find reference count problems,
    --with-pydebug on, Python sometimes also complains earlier if you do
    "stupid" things in the C code. Or gives a helpful error message before
    crashing ;-)

    -- Gerhard
     
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Oct 4, 2005
    #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:
    1,018
    =?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:
    285
    Shankar KN
    Aug 12, 2004
  3. Adam Tomjack

    Embedded python debug build crashing.

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

    Python Debug Build

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

Share This Page