[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: error message about Mata memory
If I understand this correctly, you need to find out
about -set trace-.
. set trace on
sets tracing of commands so that you can see where
in the code a command failed. Tracing can be tuned
in various ways.
I don't know anything about SAS, but if your ideal
is equivalent to
at line ... of -foobar-
-foobar- was called from line ... of -whizzbang-
-whizzbang- was called from line ... of -bushranger-
well, that's another style, and ultimately equivalent
to Stata's style.
Not quite. If in an ado-file you give the command
and some error arises in myfunc, you just get an abort. You are not
told where within myfunc (or where within whatever Mata function
myfunc might call) the error occurs in any useful way. The example
that provoked this thread included a stack trace through several Mata
functions, but the information about where in the ultimate module
(xtm_mixed_ll_uu()) the abend occurs is, regrettably, not available.
Kit Baum, Boston College Economics
An Introduction to Modern Econometrics Using Stata:
* For searches and help try: