Watch tool is used during debugging source code.

To begin debugging source code, set breakpoints first. Then select variables to check and add them to the Watch panel. To do this, place the cursor over the variable that you want to add, then open context menu (right-click) and select Add watch from the menu.

Selected variable will appear in the Watch window: 

Select the Debug mode and run debugging (F5).

Click View to see the value of an array. 

Trough Context menu of the panel you can:

  • Add watch – start typing variable name for watching.
  • Delete watch – delete selected variable from watching.
  • Clear – delete all variables from watching.