Debug.gethook

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2011.6
Class: debug

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).

(function), (string), (number) = debug.gethook()

Return values

Returns (function) function that works as hook
Returns (string) provided mask of the hook
Returns (number) hook count