On 7 Dec 2010, at 10:11 AM, Dennis wrote:
> But if for example I declare int test[16], the debugger shows the array 
> "test" with 16 members. That's not happening in the case of my code with 
> allColumns. It's displaying an array of -1 members.

It's possible that the debugger simply doesn't know how to discover the length 
of a variable-length C array (it's a relatively recent addition to the 
language). Have you tried changing the array size to a literal 15? The array 
should have the declared size anyway (and asking the debugger to shoe element 
3, etc., should still work) even if the debugger doesn't know its size.



_______________________________________________

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 arch...@mail-archive.com

Reply via email to