Macro based tracer