git » repo » main » tree

[main] / services / godeeper / dev / dis3 / tracer.py

import sys

def trace(frame, event, arg):
    if event == 'line':
        print (frame.f_code.co_filename, frame.f_lineno)
    return trace

sys.settrace(trace)

import mymod