<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Try the "pdb" module--the python debugger.<br><br><span style="font-family: comic sans ms;">From the <span style="font-style: italic;">virtual</span> desk of Lowell Tackett&nbsp; <img src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/15.gif"><br></span><br><br>--- On <b>Fri, 10/16/09, Serdar Tumgoren <i>&lt;zstumgoren@gmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Serdar Tumgoren &lt;zstumgoren@gmail.com&gt;<br>Subject: [Tutor] way to see code execution in real-time?<br>To: "Python Tutor" &lt;Tutor@python.org&gt;<br>Date: Friday, October 16, 2009, 9:53 AM<br><br><div class="plainMail">Hello everybody,<br><br>I was wondering -- is there a way to "watch" a program execute by<br>piping a report of its actions to standard output or to a file?<br>Basically, I'd like to
 see the order that functions/methods are<br>executing as they happen, along with how long each one takes.<br><br>Is this something cProfile would do, or is there another tool built<br>for that purpose?<br><br>Thanks!<br>Serdar<br>_______________________________________________<br>Tutor maillist&nbsp; -&nbsp; <a ymailto="mailto:Tutor@python.org" href="/mc/compose?to=Tutor@python.org">Tutor@python.org</a><br>To unsubscribe or change subscription options:<br><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br></div></blockquote></td></tr></table><br>