I too would encourage development of debugging tools for Stata and Mata.
Trace is a very blunt weapon; I suspect I'm under-using tracedepth. I
usually resort to the ancient technique of inserting output commands as
checkpoints. That's - di - in Stata and - printf - in Mata.
Allan
***********************************************************************************
This email and any attachments are intended for the named recipient only. Its unauthorised use, distribution, disclosure, storage or copying is not permitted. If you have received it in error, please destroy all copies and notify the sender. In messages of a non-business nature, the views and opinions expressed are the author's own and do not necessarily reflect those of the organisation from which it is sent. All emails may be subject to monitoring.
***********************************************************************************
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/