codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is there a log file that tracks every statement that is being executed when a program is running?


On Sun, 25 Oct 2020 12:14:52 +0100, Maxime S wrote:

> Hi,
> 
> You can use the trace module for that:
> https://docs.python.org/3.8/library/trace.html
> 
> Personally I tend to put print statement at strategic places instead, I
> find that easier to analyse than a full trace but YMMV.
> 
> Maxime

Thank you. I am a YAPN (yet another Python newbie) and this helps me a 
lot.

-- 
Mladen Gogala
Database Consultant
http://mgogala.byethost5.com