[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problems transitioning from lua 2.5 -> lua 3.1
- From: Norman Ramsey <nr@...>
- Date: Thu, 02 Jul 1998 10:04:14 -0400
> overflow usually mean lack of lua_beginblock/lua_endblock.
So here is another idea -- create a LUA_DEBUG version of the Lua API,
which among other things, tracks the source file and line of every
push. Then, on stack overflow, you can dump the locations of the
offending C code. I bet it would be a snap to diagnose overflows in
this scheme.
Norman