Mypyc can optionally include logging in the generated code that produces a sampled trace of various events or operations that happen during execution. For example, you can use this to find code ...
hltpy: high-level tracing python A generic high-level tracing library for Python. A library to dymacially wrap chosen data, objects, class and modules, for the purpose of producing an execution trace.