Is there a way to install a debugger in Lua for whenever a table is created? I have a rather complicated program, and I want to see where all the tables are created, so I can optimize and use them if possible. Alternatively, is there a way to do this using a metamethod in tables?
source
share