[IPython-user] logging a Pdb session
Thu Aug 7 14:14:26 CDT 2008
Screen is awesome, but can get confusing when first using it.
If screen is not installed, then see if the script command is.
type script, press enter/return
Everything that is typed in or displayed will go to a file called
typescript in the current directory.
If you start script with a different filename as in
everything will be written to mypdblog.
Ctrl-D or exit to stop script from executing (logging)
Date: Wed, 6 Aug 2008 12:16:36 -0700
From: "Fernando Perez" <firstname.lastname@example.org>
Subject: Re: [IPython-user] logging a Pdb session
To: "Ryan Krauss" <email@example.com>
Content-Type: text/plain; charset=ISO-8859-1
On Wed, Aug 6, 2008 at 9:32 AM, Ryan Krauss <firstname.lastname@example.org> wrote:
> I am about to explore someone else's code using Pdb. It will probably
> be a fairly lengthy exploration and I would like to dump the session
> to a file when I am done. Is there an easy way to do this other than
> copying and pasting from the bash shell?
I'm afraid not in ipython proper, but I think screen has some logging
abilities. Have you tried that?
More information about the IPython-user