[Python-ideas] Interactive trace function

R. David Murray rdmurray at bitdance.com
Fri Mar 20 19:02:50 CET 2009

On Fri, 20 Mar 2009 at 13:53, Gerald Britton wrote:
> On Fri, Mar 20, 2009 at 1:02 PM, R. David Murray <rdmurray at bitdance.com> wrote:
>> I just learned about this one, which is also sometimes useful (when you
>> _don't_ want the interactive prompt, you just want to see the sequence
>> of execution):
>>    python -m trace -t <pythonprogram>
> Thanks for the tip!  btw, did you get the --ignore-dir option to work?
> I'm trying to run this on a large system (hundreds of modules) and
> ignore most of the modules and packages to focus on just a few.
> However, it processes all of them anyway

[top posting fixed for clarity]

Haven't tried that option, I've only used it for small programs so far.

R. David Murray           http://www.bitdance.com

More information about the Python-ideas mailing list