Re: Error address resolution
Re: Error address resolution
- Subject: Re: Error address resolution
- From: Charlie Dickman <email@hidden>
- Date: Sun, 15 Jul 2012 16:55:48 -0400
I found this via Google...
It explains how to capture errors and print a stack trace. A breakpoint can then be set on the NSExceptionHandler if desired. Is this the "all-exceptions breakpoint" you refer to?
I was actually after the document at the URL.
Sorry if my original question was poorly communicated. On Jul 15, 2012, at 3:17 PM, Jens Alfke wrote: On Jul 15, 2012, at 10:18 AM, David Duncan < email@hidden> wrote: Typically stuff like this doesn't have a formalized way to trap the error. In this case it might be best to set a breakpoint on NSCell's -setImage: method. You can add arbitrary breakpoints in Xcode's Breakpoint Navigator.
More effective might be to set a breakpoint on the NSLog function, provided that other stuff in your app isn't logging too much.
Also, the OP didn't mention whether this message is being logged as part of an exception being raised; if so, you should definitely set an all-exceptions breakpoint. (Really you should always have an all-exceptions breakpoint in all your projects. It's extremely useful.)
—Jens
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden