开发者

Xcode debugger static member variables

开发者 https://www.devze.com 2023-01-10 20:46 出处:网络
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 one开发者_运维知识库s.

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 one开发者_运维知识库s.

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消