I'm trying to trace executed lines of code of a script I have. I once had a piece of code that would display to me the code that was executed in a script, but can no longer find that piece of code. I was wondering if there is any code / script that will dump the executed code into a file or display it on the screen.