[IPython-dev] Re: [IPython-user] A plea for help with a threading bug...
Fernando.Perez at colorado.edu
Sat Mar 19 13:50:48 CST 2005
Andrew Straw wrote:
> I'm not sure how to run GDB with ipython, but with straight Python, do
> 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
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.
More information about the IPython-dev