Featured image of post Lua traceback 打印变量

Lua traceback 打印变量

通过修改 Lua 源码中 lauxlib.c:luaL_traceback 的实现, 在 Lua traceback 中加上函数参数和局部变量的打印。