Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T50176 Requested Scribunto/Lua built-in methods/functions (tracking) | ||
Open | None | T250453 Allowlist `debug.sethook` in the Lua engine, for code coverage tools |
Event Timeline
Comment Actions
Perhaps this could be implemented securely in C via lua_sethook and lua_getinfo, then exposed as a Lua global. Events could be exposed by a custom mw.hook interface like the JS one.
The event callback could accept source/function name and optional line number (for new line event) as arguments.