Poor man's trace macro