inspect.lua


Original forum thread .

Latest version:

https://github.com/kikito/inspect.lua

inspect.lua will make it easier to debug your tables by generating string representations of them, in a hierarchical way.

It comes with a default "max depth" of 4, in order to avoid "infinite recursion" as well as making its output more intelligible.

  • Do not attempt to use it for saving/restoring tables from a file*. It generates invalid Lua (on purpose). It's a library for debugging and little else.