lua-users home
lua-l archive

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


> You do need to increase the stack level, but I think that David meant
> some method to make the extra stack level(s) invisible to the debug
> API.

This can be done in the traceback function itself, can't it?
I mean, just scan backward and skip your "hidden" functions.
Of course, you'll need a way to mark those: add them to a table or
name them with a predefined prefix.