lua-users home
lua-l archive

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


> Is there any function in Lua or library or any code modification to Lua
> itself, that can be called to verify the Lua state, internal pointers and
> state of the stack and heap at runtime?

You may have a look at 'lua_checkmemory', implemented in the file
'ltests.c' from the test suite [1].

[1] https://www.lua.org/tests/

-- Roberto