tracing routine

noun

1.
a routine that provides a chronological record of the execution of a computer program