lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> 
> >Is there any way to access upvalues using the debug API?  I don't see
> >any obvious way to do this.
> 
> An API function for getting upvalues does not exist (yet). Sorry.
> What do you need it for?
> --lhf

I have been using upvalues as a way to hide functions and variables
which are shared within a "module" but do not need to be known
globally.  Unfortunately, it seems that I have no way to examine these
when debugging.

Gordon