Watching program data items: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__TOC__ <span class="f_Para">The </span><span class="f_GUIlabel">Watch Window</span><span class="f_Para"> box can display the current value of one or more program code data it...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
<span class="f_Para">The </span>< | <span class="f_Para">The </span><var>Watch Window</var><span class="f_Para"> box can display the current value of one or more program code data items. It is located in the lower right corner of the main window, unless it is [[Opening an external window|opened in a separate window]] external to the Client. </span> | ||
<span class="f_Para">The </span>< | <span class="f_Para">The </span><var>Watch Window</var><span class="f_Para"> is updated as the program runs, each time execution is paused by the Debugger. If the value of a watched item is changed by the last statement execution, it is highlighted:</span> | ||
[[File:watchval1s_zoom61.gif|254x111px|watchVal1s]]<span class="f_Para"> </span> | [[File:watchval1s_zoom61.gif|254x111px|watchVal1s]]<span class="f_Para"> </span> | ||
Line 8: | Line 8: | ||
<span id="watchable_items" class="hmanchor"></span><span class="f_Para">The following types of items can be “watched”: </span> | <span id="watchable_items" class="hmanchor"></span><span class="f_Para">The following types of items can be “watched”: </span> | ||
* | * %variable scalar values (for example: <span class="term">%x, %y</span>) | ||
* | * Elements of %variable arrays (for example: <span class="term">%names(%I), %names(34)</span>) | ||
* Image items (including image array elements) (for example: <span class="term">%input:name</span>) | |||
* Global variables | |||
* | * Database fields | ||
*<var>Model 204</var> parameters | |||
* | * Elements of $lists and Stringlist and Arraylist objects | ||
* Counts of items in a $list or Stringlist or Arraylist | |||
* | * Certain $function calls: $STATUS and $STATUSD, $CURREC, $FIELDGROUPID, and $FIELDGROUPOCCURRENCE | ||
* Structure elements (for example: </span><span class="term">%address:city</span><span class="f_ListBul1">) | |||
* < | * Object variables (for example: </span><span class="term">%xmlInput:serial</span><span class="f_ListBul1">) | ||
* | |||
* | |||
* | |||
* | |||
* | |||
<span class="f_Para">These subsections follow: </span> | <span class="f_Para">These subsections follow: </span> | ||
: [[Add item to watch window|Adding and removing Watch Window items]] | |||
: [[Saving and restoring Watch Window contents|Saving and restoring Watch Window contents]] | |||
: [[Getting a detailed view of the value of a watched item|Getting a detailed view of the value of a watched item]] | |||
: [[Watching Model 204 fields|Watching Model 204 fields]] | |||
: [[Watching global variables|Watching global variables]] | |||
: [[Watching object variables|Watching object variables]] | |||
: [[Watching $lists, Stringlists, and Arraylists|Watching $lists and Stringlists]] | |||
: [[Watching class member Variables|Watching class member variables]] | |||
[[Category:Debugger Home]] |
Latest revision as of 17:13, 1 November 2022
The Watch Window box can display the current value of one or more program code data items. It is located in the lower right corner of the main window, unless it is opened in a separate window external to the Client.
The Watch Window is updated as the program runs, each time execution is paused by the Debugger. If the value of a watched item is changed by the last statement execution, it is highlighted:
The following types of items can be “watched”:
- %variable scalar values (for example: %x, %y)
- Elements of %variable arrays (for example: %names(%I), %names(34))
- Image items (including image array elements) (for example: %input:name)
- Global variables
- Database fields
- Model 204 parameters
- Elements of $lists and Stringlist and Arraylist objects
- Counts of items in a $list or Stringlist or Arraylist
- Certain $function calls: $STATUS and $STATUSD, $CURREC, $FIELDGROUPID, and $FIELDGROUPOCCURRENCE
- Structure elements (for example: %address:city)
- Object variables (for example: %xmlInput:serial)
These subsections follow: