[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: embedded lua in web based REPL
- From: Sam Roberts <vieuxtech@...>
- Date: Fri, 19 Mar 2010 15:15:24 -0700
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