1

When I debug my code I'm NOT getting block variables in the variables view. It's strange but I'm not getting the reason behind it. You can check it in the screenshot. I have tried by changing the mode to "auto" or "local variable" or "All Variables".

enter image description here

1 Answer 1

2

Maybe you are in Release mod. In Xcode menu go to Product>Scheme>Edit Scheme in Run tab check "Build Configuration" is Debug. Hope to help you.

Sign up to request clarification or add additional context in comments.

1 Comment

This resolve my problem. Should be correct answer, I guess.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.