KCML_Defsub_SetHook

Purpose

Register a trace routine to be executed in during subroutine calls.

Definition

DEFSUB 'KCML_Defsub_SetHook(HookFn AS SYM('KCML_Defsub_SetHook_Prototype), UserData AS SYM(KCMLString)) AS Void

Parameters

HookFnSYM of a function compatible with the prototype 'KCML_Defsub_SetHook_Prototype or zero to stop tracing subroutine calls.
UserDataSYM of an application state block

Description

Allows an application function to be called when other functions are called or return back to their parent.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.