Xcode Debug Static Member Variables

Do you know how I can see the value of a static member variable from a class in xcode? I can use all other variables except static ones.

Thank!

+3
source share
1 answer

To see Static Variable, go to Globals in the debugger. under the library, select your project. On the right you will see your static variable. Check the box.

Now you can see the variable under the Globals in the debugger.

Hooray!

+3
source

Source: https://habr.com/ru/post/1758208/


All Articles