debug.sethook
From GMod Wiki
Function | |
Syntax |
debug.sethook( Thread thread, Function hook, String mask, Integer count ) Where is this used? |
Description: | |
Sets the debug hook for the specified thread, or the current thread if none is given. See the Lua manual for detailed information on the use of debug.sethook. | |
Returns: | nil |
Part of Library: | Debug |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Debug.sethook]Debug.sethook [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
As of the August 2, 2007 update to GMod, the debug hook facilities have been dedicated to running the Infinite Loop protection.