[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: getting call stack in case of a run-time error
- From: Tomas <tomas@...>
- Date: Wed, 21 Apr 2004 10:24:08 -0300 (BRT)
Hi,
> Is there any way to get call stack using lua_getstack and lua_getinfo
> in case of a run-time error?
Try debug.traceback. It is implemented in C:
file src/lib/ldblic.c, function errorfb.
Tomas