2020.1

Table Of Contents
when a line has no debuggable content, for example if it only contains a declaration or
comment). Note that breakpoints are discarded when the dialog is closed.
Hovering over a variable in the code shows the value of that variable. If the variable is nested,
like fields in record.fields, you can click on the variable, its parent, child elements and/or
siblings (if any) to see their value.
The value is read-only, but you can select it and copy it with Ctrl+C.
Find code
To search for a text in all of the scripts, starting with the currently selected script, press Ctrl+F
and start typing the text. While the Find field is visible, you can either use the arrow buttons next
to it, or press Enter / Shift+Enter to go to the next or previous match, respectively.
When the Find field is not visible, you can press F3 / Shift+F3 to go to the next or previous
code that matches your last search text.
Tip
When you click on an identifier (such as a variable name) in a script, the overview ruler at
the right highlights all other occurrences of that identifier straightaway.
Variables
At the bottom right the Script Debugger shows a hierarchical overview of all variables in the
scope chain and their state. This information is always relative to the current stack frame, which
is the one that's selected on the left.
The overview includes the special entry "(this)", which represents the JavaScript "this" object.
If the current script is not a Control Script, the overview also includes the special entry "
(resource)". When expanded, this entry shows the HTML of the current Master Page or section,
allowing you to see exactly how each line in the script affects the DOM.
Use the Copy button (or press Ctrl+C) to copy the label and contents of the selected variable
and all of its children to the clipboard.
Expressions
You can add custom expressions at the top of the list of variables. This is especially useful
when you want to monitor the value of a variable that is situated at a lower level in the
Page 500