Assigning a value to a data member

Since class variables are expandable in the Variables view, data members are shown. These data members can be assigned as if they were variables at the top level of the Variables view.
  1. To open the Variables view if it is not open select Window > Show View > Debug > Variables.
  2. Assign a value to a data member in any of the following ways:
    • By updating the Value column in the Variables view.
    • By updating the value in the Detail pane.
    • By using the Change Value option from the Variables view's context menu.