Salesforce

Watch Variables (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Watch Variables (Magic xpa 4.x)

The Watch Variable list displays the variables currently being watched. You can see how the value of the watched variable changes.

A variable is added to this list from the Variable list and the Variable declaration.

If a watched variable is no longer in the runtime tree, it will still appear in the list with an undefined value.

Watched variables are saved between Debugger sessions.

The context menu contains the following options (some of these also appear in the toolbar):

  • Delete

  • Add to watch – Adds the variable currently parked on into the Watch Variable list. This option is disabled when you are parked on a program header, shared value, or a watched variable already in the Watch Variable list.

  • Go To Source – Goes to the source code for the entry currently parked on.

  • Set Data – Edits the value of the current variable.

  • Set Null to the Data – Sets the current variable to NULL.

  • Expand the Data Expands the current variable. This option is available for vector variables with a cell index>0.

  • Collapse the Data – Collapses the current variable. This option is available for vector variables with a cell index>0.

Reference
Attachment 
Attachment