Re: Debugger: How to read structures?
Re: Debugger: How to read structures?
- Subject: Re: Debugger: How to read structures?
- From: email@hidden
- Date: Sun, 6 Jun 2004 18:47:32 -0700
In the debugger console you can evaluate expressions like:
(gdb) po myArray
(gdb) po [myArray objectAtIndex:0]
(gdb) po myDictionary
(gdb) po [myDictionary allKeys]
(gdb) po [myDictionary objectForKey:@"someKey"]
etc, etc
-ChrisF
On May 27, 2004, at 4:09 PM, Frederick C. Lee wrote:
Greetings:
I'm trying to read elements of a NSArray & NSDictionary. All I see
are 'ivar's and numbers. I'm assuming they're pointers to where the
data is.
Simple question: How can I track down & read elements of structures
(NSArray & NSDictionary) in NSString format?
Regards,
Ric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.