Re: Debugging "attempt to insert nil value" on customer's machine
Re: Debugging "attempt to insert nil value" on customer's machine
- Subject: Re: Debugging "attempt to insert nil value" on customer's machine
- From: Harilaos Skiadas <email@hidden>
- Date: Tue, 14 Sep 2004 08:01:05 -0700 (PDT)
I think there was a thread on this a couple of weeks
ago, if you search the archives. What you probably
want to do is use the NSExceptionHandler class, with
something like:
#import <ExceptionHandling/NSExceptionHandler.h>
[[NSExceptionHandler defaultExceptionHandler]
setExceptionHandlingMask:NSLogAndHandleEveryExceptionMask];
I'm not sure about the details and have never tried
it, but you can probably find more details in the
archives or cocoadev.com, or simply in
NSExceptionHandler's documentation.
You basically want to log the stacktrace on the
console when an exception is raised, right?
Hope this helps. Good luck,
Haris
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
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