f, mask, count = debug.gethook (thread)
Returns the current hook settings as three values: Hook function Mask Count See debug.sethook for more details. The thread argument is optional and defaults to the current thread. f, mask, count = debug.gethook () print (f) --> nil print (mask) --> "" print (count) --> 0
f, mask, count = debug.gethook () print (f) --> nil print (mask) --> "" print (count) --> 0