[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua hook and debugger implementation questions
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 30 May 2016 09:18:23 -0300
> Hi All,
>
> As mentioned before I am thinking of tagging each CallInfo instance
> with a stack level. I notice that Lua already maintains a field named
> 'nci' in the Lua State. So tagging new CallInfo instances is simply a
> matter of assigning a newly allocated CallInfo with the current value
> of 'nci' I think.
Sure.
> Is there any scenario where the CallInfo instances may be rearranged
> etc. that would mean that the assigned stack level value is
> invalidated?
No.
-- Roberto