Re: Xcode 2.5/Leopard / -fobj-exceptions No Symbolic Breakpoints?
Re: Xcode 2.5/Leopard / -fobj-exceptions No Symbolic Breakpoints?
- Subject: Re: Xcode 2.5/Leopard / -fobj-exceptions No Symbolic Breakpoints?
- From: Keary Suska <email@hidden>
- Date: Thu, 14 Feb 2008 14:36:11 -0700
- Thread-topic: Xcode 2.5/Leopard / -fobj-exceptions No Symbolic Breakpoints?
on 2/13/08 6:48 PM, email@hidden purportedly said:
> On which version of Mac OS X and Xcode? This is critical information,
> particularly for your question.
I had never considered that the subject line may not be the best place for
this info. In any case, I'll try to member to repeat it in the message body.
I should also show what SDK is being linked against, as that may be an
issue.
So here goes: Xcode 2.5 on Leopard, targeting 10.4u.
> One, there's a separate funnel for exceptions that are raised via
> @throw on Tiger and Panther, the function objc_exception_throw, which
> is now used for all exceptions on Leopard. Set a symbolic breakpoint
> on that and see if it's hit.
This is good info, and I have added objc_exception_throw to my list of
symbolic breakpoints, however it doesn't work either. Perhaps an exception
isn't really being thrown. Here is an example console entry:
2008-02-14 14:07:38.063 AirBase[1065:613] *** -[NSKeyedUnarchiver
initForReadingWithData:]: data is NULL
IIRC, most messages beginning with *** were exceptions. The issue with
objectAtIndex I was getting used to throw an exception, but perhaps it
doesn't anymore.
I can break on -[NSKeyedUnarchiver initForReadingWithData:] as a symbolic
breakpoint, so symbolic breakpoints are busted, but I still can't seem to
break on -[NSArray objectAtIndex:], no matter what I do. So, although for
the moment I have fixed the out of bounds issue, I am still no closer to a
solution.
> Two, just "run" won't cause the Xcode debugger to come up when a
> breakpoint is hit. You need to "debug" your application for it to
> actually be brought up under the debugger.
Wow--was there something in my email that made you think I was that utterly
clueless? Would someone who knows what a symbolic breakpoint is, and how to
set one, really not know the least thing with how to debug a project in
Xcode? I suppose I haven't been on this list long enough to know it takes
all kinds.
> What did you try? Using Google to search for "break Objective-C
> exceptions" (without the quotes) returns a lot of hits.
Oh, yes, I found thousands of hits but not single one dealing with my issue.
Although I would admit I didn't actually follow every one. Did you find one?
You didn't mention it, so I assume not.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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