Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Tracing loops
From
Joe Canner <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Tracing loops
Date
Fri, 27 Sep 2013 16:00:09 +0000
Dear Statalist colleagues,
Is there any way, as of Stata 12, to trace the execution of a -foreach- loop without Stata also tracing any ado-file based commands within the loop? I saw a post on this from 2009 and the only solution then was to save the trace to a log. This seems like a tedious and time consuming way to simply find out where an error occurred, follow the execution progress of a loop, and/or see what output goes with what commands.
Is there anything new in Stata 13 that addresses this?
Is there any conceivable way to program this some other way? Is this even a concern for anyone?
Thanks,
Joe Canner
Johns Hopkins University School of Medicine
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/