Turn on the trace at the previous line!
As the last trace could presumably be kept in memory,
this does sound possible, except that
I guess that the trace would have to
be displayed after a crash (not a problem,
in my view).
So you could have
. set lasttrace on
meaning that you get a more detailed
report on a crash.
Is this possible?
Nick
[email protected]
Fred Wolfe
> High on my wish list for
> Stata is the
> ability to have a program that produce an error optionally
> display the line
> or line # where the program fails or to turn on trace at
> the previous line.
>
*
* 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/