移至檔案
LeMagnesium 37f9b83b77
Define rawlen as en empty table if it is undefined
- Minetest won't let us define something global unless it's a table.
   Shall it be so.
 - This prevents Minetest from complaining about StackTracePlus' attempt
   to define "rawlen"
2016-09-01 12:10:14 +02:00
StackTracePlus@9b4aef9585 First commit 2016-08-01 15:24:05 +02:00
.gitmodules First commit 2016-08-01 15:24:05 +02:00
README.md First commit 2016-08-01 15:24:05 +02:00
init.lua Define rawlen as en empty table if it is undefined 2016-09-01 12:10:14 +02:00

README.md

StackTracePlus Minetest mod

StackTracePlus is a Lua module that extends debug.traceback to include more call frame information such as local and globals, locals and parameters dumps.

This mod merely plugs this module in and replaces debug.traceback with StackTracePlus's traceback dump routine.

Installing

This repository uses git submodules.

Clone this repo either recursively (--recursive) or as usual, but make sure to git submodule update --init afterwards; it must go into the mods directory.

Mod security

This mod modifies the global debug table which is not accessible by normal mods when mod security is enabled.

If you have enabled mod security (secure.enable_security is true), then you must whitelist this mod in minetest.conf's secure.trusted_mods config entry.

License

WTFPL / CC0 / Public Domain.

StackTracePlus is distributed under the MIT license.