Home  Contents

debug.gethook

Debug Lua Commands

SYNOPSIS

debug.gethook([thread])

DESCRIPTION

Returns the current hook settings of the thread, as three values: the current hook function, the current hook mask, and the current hook count (as set by the debug.sethook function).

SEE ALSO