On Fri, 19 Feb 2016, Lennart Sorensen wrote: > On Fri, Feb 19, 2016 at 12:11:35PM -0500, Yaroslav Halchenko wrote: > > Thanks for looking into it. Fwiw, for such cases better to use python-dbg > > so you could then py-bt and do more introspection within attached gdb. You > > would need -dbg packages for numpy etc
> I hadn't ever needed to debug python before, and since the error seemed > to be in C code, not python code, I wasn't sure looking for a python > way of debugging would help. it would show python stack which might give better idea of the scope etc. Not that it is a panacea but I found it handy from time to time > I can't seem to guess how to use python-dbg though. Certainly just > replacing python with python-dbg doesn't work in this case. you just need to rebuild entire pandas using python-dbg, smth like python-dbg setup.py build_ext --inplace and then use it straight from there P.S. for some packages I did provide -lib-dbg package with extensions built using python-dbg, sorry that I took a shortcut with pandas Thanks again for looking into it -- Yaroslav O. Halchenko Center for Open Neuroscience http://centerforopenneuroscience.org Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419 WWW: http://www.linkedin.com/in/yarik