trace generated code