Brian wrote:

Bernie wrote:On a side note, I notice Xcode’s console is limited to around 32K of data for each NSLog call.

Xcode has more debug options, so NSLog limitations aren't a big concern. For example, the debug pane allows selection of a specific array index( or dictionary key/value pair ) which can then be printed( via contextual menu - see screen print )

Just thought I’d mention the limitation.

However, my test results using Steve's code ( moved to Xcode 7 under OS X 10.11.6 ) exhibit an additional anomaly.

My applicationDidFinishLaunching with the following code:

-(void)applicationDidFinishLaunching:(NSNotification*)notification {
    @autoreleasepool {
        mymutarr = [[NSMutableArray alloc]initWithCapacity:0];
        NSDictionary *itemDict = @{@"key1": @"value1", @"key2": @"value2", @"key3": @"value3", @"key4": @"value4", @"key5": @"value5"};
        for(int i=0; i<150000; i++) {
            [mymutarr addObject:itemDict];
        }
        NSLog(@"%@",mymutarr);
        [mymutarr release];
    }
}
doesn't display mymutarr in the debug pane ( notice the screen print above 'itemDict' shows ). Since my playing has been superficial, it's likely I've overlooked something. I'd look deeper but have more pressing items right now. Let me know where I was stupid.


mymutarr is an instance var, so it can be found in 'self = ...’







--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@... To access the list archives, go to: http://freegroups.net/groups/futurebasic/