开发者

how to get object content when debug in Xcode?

how can I get object properties (now just object references - 0x484ce00) in XCode debug tool like in the Ecl开发者_如何学Pythonipse IDE?


from the debugger,

 po 0x484ce00

will print the description property of the object. The default implementation of -description is inherited from NSObject and just prints the address. So you have to override it see the object's internal state.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜