[ACCEPTED]-Does Xcode have a watch window?-global-variables

Accepted answer
Score: 30

Solved! Right-clicking in the local variables 7 window brings a menu option of "Add Expression". Type 6 your variable name and now you are watching 5 your variable/expression.

The language of 4 "expression" instead of the more familiar 3 "variable" threw me quite a bit. Hard to 2 search for a solution when I have the terminology 1 wrong. Seems obvious now.

Score: 7

Open Debug Area via View -> Debug Area -> Activate Console (Xcode 9)

Right click -> Add Expression


More Related questions