Table of Contents

TatCustomScripter.CurrentDebugScript Property

Returns the script object used for debugging purposes, pointing to the original script even when a form instance creates a copy.

Remarks

CurrentDebugScript is similar to CurrentScript, with a small difference when it comes to forms. When a new form instance is created, a new script is created in Scripts collection, and the script information (source code, etc.) is copied from original form script. When the form executes its script, then CurrentScript changes, but CurrentDebugScript continues pointing to the original script object which generated the form instance.

Syntax

Unit: atScript

property TatCustomScripter.CurrentDebugScript: TatScript

See also