[Yt-dev] Cython gdb debugging

Matthew Turk matthewturk at gmail.com
Wed Mar 23 15:18:36 PDT 2011


export CFLAGS=-O0 before running setup.py build_ext -i

On Wed, Mar 23, 2011 at 6:18 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Matt,
>
>> Nope, not using it jsut now.  I've found that for the most part, an
>> -O0 compile of the cython stuff gives enough info and detail to handle
>> it with standard gdb, since cython embeds the source lines.
>
>
> What's your preferred way of ensuring a -O0 (or -g) compile with cython stuff?
>
>
>
> Stephen Skory
> stephenskory at yahoo.com
> http://stephenskory.com/
> 510.621.3687 (google voice)
>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list