lua-users home
lua-l archive

Re: Lua hook and debugger implementation questions

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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

AltStyle によって変換されたページ (->オリジナル) /