lua-users home
lua-l archive

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


> Is there any method to debug GC crashes except that trying to randomly
> guess which Lua object got collected?

Build lua with LUA_USE_APICHECK defined (Lua 5.1) to enable stricter
API checks.  Maybe something useful comes up.

In Lua 5.0 you can change the api_check macro at the top of lapi.c

--
Wim