Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Python Debug Build

Reply
Thread Tools

Re: Python Debug Build

 
 
=?ISO-8859-1?Q?Gerhard_H=E4ring?=
Guest
Posts: n/a
 
      10-04-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I build python with debug info? (and python module load questions) sndive@gmail.com Python 0 01-26-2007 02:30 AM
Embedded python debug build crashing. Adam Tomjack Python 0 08-27-2005 10:45 PM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
Python Installation (Debug Build) Shankar KN Python 0 08-12-2004 02:33 PM
[Howto] Compiling debug Python extensions for non-debug Python Mike C. Fletcher Python 3 10-12-2003 09:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57