STATA cmd of the day: "set trace on"
"set trace on" shows you all the background code (in significant detail). At a low level (me) this is mostly useful if you need to figure out where you went wrong in a complicated series of loops. Â Without using this command you often have to start at the beginning, take out individual blocks of code from your loop and test-run them to diagnose the issue. Â TRACE at least puts you in the right ball park most of the time.
















