set_hook not available with luau
feature?
#227
-
First off @khvzak, thanks for this wonderful crate and supporting luau! However, I'm trying to use debugging with Luau but it seems I noticed that hook.rs is not compiled with the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Instead, mlua supports interrupts which is Luau only feature, similar to hooks. |
Beta Was this translation helpful? Give feedback.
set_hook
indeed is not available for Luau, because Luau (for performance reasons) does not support it :)More details here: https://luau-lang.org/performance#epsilon-overhead-debugger
Instead, mlua supports interrupts which is Luau only feature, similar to hooks.
Currently callback function does not has
&Lua
argument but I plan to add it on the v0.9 release.