lua-users home
lua-l archive

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


Hi list,

Is there a way to monitor all function calls in Lua 5.1 (Lua functions and C functions) with access to their arguments and results? I know about lua_sethook, but according to the docs there is no access to arguments or results.

It's on Windows and I can optionally detour any API function for this, its purpose is profiling code including the influence of input and output on execution times.

Thank you.

~b