Re: Error address resolution
Re: Error address resolution
- Subject: Re: Error address resolution
- From: Charlie Dickman <email@hidden>
- Date: Sun, 15 Jul 2012 17:38:24 -0400
Again, my ignorance is showing.
Thanks so much for this info. I will adopt its use. On Jul 15, 2012, at 5:08 PM, Jens Alfke wrote: 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