• 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
Re: Error address resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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...

https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Exceptions/Tasks/HandlingExceptions.html

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

Charlie Dickman
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: Error address resolution
      • From: Jens Alfke <email@hidden>
References: 
 >Error address resolution (From: Charlie Dickman <email@hidden>)
 >Re: Error address resolution (From: David Duncan <email@hidden>)
 >Re: Error address resolution (From: Charlie Dickman <email@hidden>)
 >Re: Error address resolution (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Error address resolution
  • Next by Date: Re: Error address resolution
  • Previous by thread: Re: Error address resolution
  • Next by thread: Re: Error address resolution
  • Index(es):
    • Date
    • Thread