lua-users home
lua-l archive

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


I would like to have control over code execution (something similar like debug hook). Is it possible to assign a function which is called after every string/line executed in Lua? The function would receive the code to be executed and could decide if it is executed or not. If function executes the code then everything would work as normal.

I searched from lua-l archive and web but could not find answer.