pub fn set_hook( state: &mut LuaState, func: Option<Box<dyn FnMut(&mut LuaState, &LuaDebug)>>, mask: i32, count: i32, )
Installs a debug hook on thread state.
state