Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: error message about Mata memory


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: error message about Mata memory
Date   Mon, 23 Oct 2006 21:46:00 +0100

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 

error 198; 
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. 

Nick 
n.j.cox@durham.ac.uk 

Fan, Shihe

> Hi, Bobby,
> 
> If you are envisioning to improving the error reporting 
> functionality in
> STATA, could you please make the error reporting specific, 
> such as what
> is done in SAS, by pointing out where the syntax error or any other
> error occurs exactly, but not so general in its current form. Error
> tracing in STATA right now seems rather inadequate in my uneducated
> opinion.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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