[Tutor] way to see code execution in real-time?

Lowell Tackett lowelltackett at yahoo.com
Fri Oct 16 17:52:26 CEST 2009

Try the "pdb" module--the python debugger.

>From the virtual desk of Lowell Tackett  

--- On Fri, 10/16/09, Serdar Tumgoren <zstumgoren at gmail.com> wrote:

From: Serdar Tumgoren <zstumgoren at gmail.com>
Subject: [Tutor] way to see code execution in real-time?
To: "Python Tutor" <Tutor at python.org>
Date: Friday, October 16, 2009, 9:53 AM

Hello everybody,

I was wondering -- is there a way to "watch" a program execute by
piping a report of its actions to standard output or to a file?
Basically, I'd like to see the order that functions/methods are
executing as they happen, along with how long each one takes.

Is this something cProfile would do, or is there another tool built
for that purpose?

Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091016/a109d0ba/attachment.htm>

More information about the Tutor mailing list