Is there a log file that tracks every statement that is being executed when a program is running?
Mladen Gogala
mgogala at yahoo.com
Sun Oct 25 17:58:41 EDT 2020
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
More information about the Python-list
mailing list