On Sun, Aug 3, 2008 at 2:58 PM, Daniel Richman
<[EMAIL PROTECTED]> wrote:
> If your array is called myArray, type
>
> po myArray
>
> in the debugger, and it will print the value of all objects in the array.

More specifically, it will send -description to all the objects in the
array, and print the result.  Useful even if you have an array of your
own objects and need to inspect them in the debugger; override
-description and return a meaningful string.

Just be careful; by default NSData prints out everything inside of it.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to