ok,
this is what happens in the console;

11.06.09 04:24:15 com.apple.launchd[66] ([0x0-0x53053].com.yourcompany. test[762]) Exited abnormally: Trace/ BPT trap
11.06.09 04:24:30 test[767] An uncaught exception was raised

11.06.09 04:24:30 test[767] *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0) 11.06.09 04:24:30 test[767] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)'
11.06.09 04:24:30 test[767] Stack: (
   2481156363,
   2476822075,
   2481155819,
   2481155882,
   2508822527,
   2508288392,
   13265,
   12362,
   2481215765,
   2499953754,
   2499913350,
   2499911656,
   2499910699,
   2499910505,
   2499909656,
   10118
)
11.06.09 04:24:32 com.apple.launchd[66] ([0x0-0x56056].com.yourcompany. test[767]) Exited abnormally: Trace/ BPT trap




I had problems with array bounds,
but I thought I found all errors.

The problem is, when the program is running in debug mode - there don't appear any errors ...
So how can I find the array call that leads to this?





Am 11.06.2009 um 01:19 schrieb Nick Zitzmann:


On Jun 10, 2009, at 5:10 PM, Martin Batholdy wrote:

ZeroLinker is off, when I change the build configuration to "Release", right?

ZeroLink was removed from Xcode 3.0 for exactly this reason.

So I am pretty helpless with that issue, having no real experience with building programs on the mac.
And as I said, the program works fine on my machine ...


And as I said, what gets logged to the console, if anything, when the app fails to launch? If it was a dyld error, then it will be logged to the system console, and it often provides critical clues when an app isn't launching. You can find out by running / Applications/Utilities/Console.app.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

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