grandMA3 User Manual Publication
DumpAllHooks()

grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » DumpAllHooks()
Version 2.0

Description

The DumpAllHooks function prints a list of the hooks in the system. The list is only shown in the System Monitor.

Arguments

This function does not accept any arguments.

Return

The function does not return anything. It does print a list in the system monitor.


Hint:
See also these related functions: HookObjectChange, Unhook, UnhookMultiple.

Example

This example prints the list of hooks in the system monitor.

The system monitor shows what is happening at the station. This includes feedback on user commands. It logs the different things happening in the background. It also shows warnings, errors, and changes to the system. Learn more in the System Monitor topic.

Lua
return function()
-- Dumps a list of all the hooks in the System Monitor.
Printf("=============== START OF HOOK DUMP ===============")
DumpAllHooks()
Printf("================ END OF HOOK DUMP ================")
end