[IPython-dev] Re: [IPython-user] A plea for help with a threading bug...

Fernando Perez Fernando.Perez at colorado.edu
Sat Mar 19 14:50:48 EST 2005

Andrew Straw wrote:
> I'm not sure how to run GDB with ipython, but with straight Python, do 
> this:
> Use a debug build of Python, and use it to build all extension modules 
> so that all debugging symbols are included.  Copy 
> Python-2.x/Misc/gdbinit to .gdbinit.  Run gdb.  Then type "target exec 
> /path/to/your/debug/build/of/python" now type "run yourscript.py any 
> args here".

[ great, detailed instructions on thread debugging ]

Well, and here I was, hoping you'd say "Ah! you just forgot to run

import easy_threads

at the top of your code.  That should do it".  But hey, who am I to complain...

It seems like Yariv has narrowed it down to a readline bug, so I'm going to 
leave it at that (too swamped on my end with other things).  But many thanks 
for this message, since these instructions will come in handy more than once 
in the future, I'm afraid.

Take care,


More information about the IPython-dev mailing list