Table of Contents

TatCustomScripter.OnDebugHook Event

Fired repeatedly while the script execution is paused, allowing the application to update its UI.

Remarks

OnDebugHook event is a callback event that is called when a script running but in paused condition. When the script is paused, the main application loop is executed by scripter not by VCL. OnDebugHook is then a way to have a callback from this loop and perform operations like updating the application user-interface. OnDebugHook is called many times while the script execution is paused. See also OnSingleDebugHook which is fired only once.

Syntax

Unit: atScript

property TatCustomScripter.OnDebugHook: TNotifyEvent

See also