开发者

how to get object content when debug in Xcode?

开发者 https://www.devze.com 2023-01-06 19:00 出处:网络
how can I get object properties (now just object references - 0x484ce00) in XCode debug tool like in the Ecl开发者_如何学Pythonipse IDE?from the debugger,

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

精彩评论

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