[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: gc and strings
- From: Paul Bleisch <pbleisch@...>
- Date: Tue, 26 Sep 2000 16:52:56 -0500
> -----Original Message-----
> From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
> 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).
Paul