lua-users home
lua-l archive

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

> -----Original Message-----
> From: Luiz Henrique de Figueiredo []
> Subject: Re: gc and strings
> >a) Is there a place in the lua C code that I can stick
> >   a breakpoint to watch/trace the garbage collection?
> lua_collectgarbage  :-)
> Just curious: why would you want to do this?

I was afraid you would say that. :)  I am trying to track
down a table that seems to be disappearing.  I get table A
(checked validity with lua_istable()) from table B and then 
try to get a value from A but lua_istable() says it is no 
longer a table (lua_istable() says no).