traces the macro depth as well as the substition parameters
	change to have $record interacting with $proc correctly