[Tutor] way to see code execution in real-time?
kent37 at tds.net
Fri Oct 16 18:00:00 CEST 2009
On Fri, Oct 16, 2009 at 9:53 AM, Serdar Tumgoren <zstumgoren at gmail.com> wrote:
> 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?
The profiler will show you which functions are called and how long
they take but it does not show you the order in which they are called.
I think CodeInvestigator tracks the order of execution but I have
never tried it:
And of course a debugger (pdb or WinDbg for example) will let you
follow along as functions execute, but I don't think they will show
More information about the Tutor