To add variables from the code viewer, follow these steps:
- In the code viewer, hover the mouse pointer over the variable that you want to watch or select it, as shown in the following screenshot:
- A data tip appears, as you can see in the preceding screenshot. Click on the Add Watch icon found on the left-hand side of the data tip (the glasses with a green plus symbol).
- The variable will now be shown in the Watches FactBox, as shown in the following screenshot: