How to display complex object in debugger?

Posted by 4thSpace on Stack Overflow See other posts from Stack Overflow or by 4thSpace
Published on 2010-05-18T15:32:39Z Indexed on 2010/05/18 15:40 UTC
Read the original article Hit count: 168

I'd like to display the contents of the property myarray, from the following singleton:

[Session sharedManager].myarray

I've tried these:

po [Session sharedManager]. myarray

po [[Session sharedManager] myarray]

but always get this error:

A syntax error near end of expression.

Any suggestions?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk