简体   繁体   中英

Xcode debugger static member variables

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

Thank you!

To see Static Variable go to Globals in debugger. under the library, select your project. To the right you should see your static variable. Tick the check box.

Now you can see the variable under Globals in debugger.

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM