• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMutableArray won't tell me its count !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMutableArray won't tell me its count !


  • Subject: NSMutableArray won't tell me its count !
  • From: Martin <email@hidden>
  • Date: Tue, 13 Dec 2005 12:38:08 +0100

Hi,

My code that looks like :

-(void)myFunction {
NSLog(@"%@",myMutableArray);
NSLog(@"%@",[myMutableArray count]);
}

And, when I call the function, the first line goes ok (myMutableArray is correctely logged) but there's a problem with the second line, the debugger launches itself and returns :

Error from debugger, executable path is nil
MyApp has exited due to signal 10 (SIGBUS)

What is weird is that, even if I can "Build and run" my application, "Build and debug" won't work, the debugger still says "Error from debugger, executable path is nil". A search "executable path is nil" on Google produces only 1 result which doesn't help.

The thing that I don't undersand is, why can the program log the entire array (I see the result with my eyes ! I hope I am not crazy !) and can't get its count ?

Any clues ?
Thanks,
Martin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: How a QTMovie determines if it can initialize itself from a URL
  • Next by Date: RE: NSMutableArray won't tell me its count !
  • Previous by thread: Re: How a QTMovie determines if it can initialize itself from a URL
  • Next by thread: RE: NSMutableArray won't tell me its count !
  • Index(es):
    • Date
    • Thread