Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Trace in Mata (the debugging command, not the matrix function)


From   Phil Schumm <pschumm@uchicago.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Trace in Mata (the debugging command, not the matrix function)
Date   Tue, 17 Mar 2009 10:20:48 -0500

On Mar 17, 2009, at 8:45 AM, Fabrice wrote:
One of my concern while I'm being drawn to use Mata is that I have not been able to identify the trace programming command, the one allowing to follow code execution, in order to debug code (so, NOT the trace as the sum of diagonal).

Would anyone know how to do this?


See -help matalnum-. This won't give you a full stack trace, but can be quite helpful when debugging.


-- Phil

*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index