Trace or track Python statement execution