The compiled execute hook can be a single event hook or a multiple event hook. A multiple event hook represents the simultaneous occurrence of more than one execute hook event. The multiple event hook collapses multiple EX instructions into a single EX instruction, followed by a NOP instruction.
Invoking the event handler:
If the debugger has been initialized when a single event hook is enabled and executed, the debugger event handler is invoked with the following interface:
If the debugger has been initialized when a multiple event hook is enabled and executed and the hook for at least one of the events is active, the debugger event handler is invoked with the following interface:
Use __setHookEvents() to enable or disable execution hooks.