[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Problems with lua_getstack
- From: "Curt Carpenter" <curtc@...>
- Date: Mon, 3 Jun 2002 09:49:52 -0700
>> [...]
>> Problem is, even when level is 0, lua_getstack returns 0.
>
>What happens with the "default" error hook? Do you get a correct stack
trace? (Because the default hook also uses lua_getstack, starting from
1...)
User error. I'm using multiple lua threads, and I was always using the
primary thread state in the error handler, rather than the state that
actually errored.
Thanks,
Curt