lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 18 Feb 2011 11:59:32 -0200, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Best is to add a metatable to globals _G that errors on index.
>
>See also etc/strict.lua which does this and more.

Speaking of which, is there a good article/tutorial/chapter for
newbies on debugging Lua scripts, besides Chapter 8 in the PiL?

www.lua.org/pil/index.html#8

The online PiL is from 2004, and doesn't mention the above
suggestions.

Thank you.