Minetest mod to have more useful error dumps using StackTracePlus
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
David Leal 7db06eace7
Add Travis CI and LuaCheck (#3)
il y a 2 semaines
StackTracePlus @ 9b4aef9585 First commit il y a 3 ans
.gitmodules First commit il y a 3 ans
.luacheckrc Add Travis CI and LuaCheck (#3) il y a 2 semaines
.travis.yml Add Travis CI and LuaCheck (#3) il y a 2 semaines
README.md Add Travis CI and LuaCheck (#3) il y a 2 semaines
init.lua Replace deprecated function il y a 9 mois
mod.conf Use mod.conf for name and description il y a 8 mois

README.md

StackTracePlus

Build Status

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.