How can i build python3 without optimization?

Kev Dwyer kevin.p.dwyer at gmail.com
Sun Jun 17 13:29:25 EDT 2012


gmspro wrote:

> I tried this:
> CFLAG=-g ./configure --prefix=/home/user/localdir
> 
> But during debugging python i get:
> 
> (gdb)next
> (gdb)print variable
> (gdb)$1 = <value optimized out>
> 
> What should i do?
> How can i get the value of a variable instead of <value optimized out> ?
> 
> Thanks.


Maybe try: http://docs.python.org/devguide/setup.html#compiling-for-
debugging




More information about the Python-list mailing list