lua-users home
lua-l archive

Re: Debugging crashes on GC

[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

AltStyle によって変換されたページ (->オリジナル) /