Helloworld with Python C extension

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Wed Sep 7 21:55:58 EDT 2016


On Tuesday, August 30, 2016 at 6:07:15 PM UTC+12, Ganesh Pal wrote:
> I  was just wondering  how could the C extension   be debugged ?

My usual way of debugging C code is to stick printf statements close to where I think the problem areas might be. Write to stderr, not stdout, so you can redirect that to a logfile etc without interfering with normal output (if any).



More information about the Python-list mailing list