Mircea Ispas
Mircea Ispas

Reputation: 20790

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!

Upvotes: 3

Views: 2157

Answers (1)

RLT
RLT

Reputation: 4287

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!

Upvotes: 3

Related Questions