• 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: Jens Alfke <email@hidden>
  • Date: Sun, 15 Jul 2012 14:08:04 -0700


On Jul 15, 2012, at 1:55 PM, Charlie Dickman <3tothe4th@comcast.net> wrote:

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?

Just go to the breakpoints tab in the navigator in Xcode 4, press the "+" button at the bottom, and choose "Add Exception Breakpoint…" from the pop-up. You get the option of having the breakpoint when the exception is raised or caught; IMHO the interesting part is where it's raised. At that point you can look at the stack in Xcode, select a frame belonging to you and examine variables, etc.

This is one of three diagnostic tools I enable in _all_ of my Xcode projects, along with Treat Warnings As Errors and malloc scribble.

—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

  • Follow-Ups:
    • Re: Error address resolution
      • From: Charlie Dickman <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>)
 >Re: Error address resolution (From: Charlie Dickman <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