Lua primitives: dump_stack()
This function will walk the internal Lua stack and output the contents to the debug logfile.
This function is a NOP unless you're running a debug-build of lumail.
(The debug-logfile may be set via the --debug command-line flag.)
Example usage is as simple as:
This function has been available since version 0.10.