NSLog and [NSDictionary description], bug?
NSLog and [NSDictionary description], bug?
- Subject: NSLog and [NSDictionary description], bug?
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 6 Apr 2004 12:49:26 +0200
I'm using the following line of code for debugging purpose:
NSLog([myDictionary description]);
where myDictionary is a NSDictionary.
With some dictionaries, it crashes.
The strange part is that:
- when I do a po in gdb (i.e. the similar kind of process AFAIK), it
works.
- when I do NSLog(@"%@",myDictionary); it works too (there is no %@ in
the dictionary objects).
Is this a known bug or limitation in NSLog?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.