lua-users home
lua-l archive

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


> Perhaps a callback from
> Lua that gets called every time a new line gets executed?

It's called the "line hook". See the debug library.

> 2. I'd like to abort a Lua script while it is executing.

Raise an error inside the hook.