Does Xcode have a watch window for variables? It has a window for local variables but that’s not much help when I want to watch the value of a global.
I’ve been spoiled by VisualStudio, I know.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Solved! Right-clicking in the local variables window brings a menu option of “Add Expression”. Type your variable name and now you are watching your variable/expression.
The language of “expression” instead of the more familiar “variable” threw me quite a bit. Hard to search for a solution when I have the terminology wrong. Seems obvious now.