[IPython-user] ls and cat commands fail

Fernando Perez fperez.net@gmail....
Tue Jun 3 20:32:08 CDT 2008


Hi Tony,

[ it's best to keep replies on-list for the benefits of the archives.
I'm including yours in full here]

On Tue, Jun 3, 2008 at 6:23 PM, Tony Mannucci
<Anthony.J.Mannucci@jpl.nasa.gov> wrote:
> Fernando,
>
> Thanks.
>
> 1.22 does not bomb!
>
> My first experience with pydb:
> 1) It does not print the surrounding lines of the current source line, as
> pdb does.
> 2) The debugger's command history file includes the ipython history file.
> Not what I expected! When running pydb from ipython, the history of debugger
> commands is lost. When running straight from pydb, the history of the
> debugger commands is included. That's good.
>
> It is odd that running straight pydb puts ipython history into the
> debugger's history file. I guess that's "ipython integration". But sort of
> odd. The idea for me is to turn on history, generate debugger commands, then
> turn off history. The debugger commands can then be re-run with the "source"
> command. Useful.
>
> The source command does work.
>
> Thanks for your great work!

Glad to hear it works for you.  You might want to mention this to the
pydb team to ensure they track it accordingly.

Regards,

f


More information about the IPython-user mailing list