lua-users home
lua-l archive

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


On Fri, Mar 19, 2010 at 3:07 PM, Shaun McVey <shaun.mcvey@gmail.com> wrote:
> The Lua website itself has a live demo (http://www.lua.org/demo.html).
>  Cases like this appear to be protected against.  Unfortunately, I
> couldn't find any details on the website about how it's implemented.

Basically using this hook, if I recall correctly:

http://www.lua.org/manual/5.1/manual.html#pdf-debug.sethook

If you google a bit you'll find this discussed a bunch of times in the
list archive, and there might even be a page about it on the lua wiki

Cheers,
Sam