Re: credits.rtf problem
Re: credits.rtf problem
- Subject: Re: credits.rtf problem
- From: Stefan Wolfrum <email@hidden>
- Date: Mon, 22 Jan 2007 08:14:55 +0100 (MET)
Ha! That worked! Got into the debugger exactly when the exception was
raised.
But ...
What now? What am I looking for?
I have the usual Assembler code in the lower half of the debugger and
can only
browse the Globals.
In the call stack I can see the "history" from main to [NSException
raise] but how
can I actually see the contents of that NSCFDictionary and find the
reason for
the exception?
Thank you guys A LOT!
Stefan.
Am 21.01.2007 um 22:14 schrieb Chris Suter:
On 22/01/2007, at 8:10 AM, Stefan Wolfrum wrote:
Hi Robert,
that's a nice idea. Because I'm a very beginner I just learned how
to add
a breakpoint on a method I didn't write myself. :-)
Unfortunately, -[NSCFDictionary setObject:forKey:] is call an
enourmous
amount of times so that I had to click VERY often on the Continue
button
of the debugger.
So I obviously need a nice condition for that breakpoint -- but I
can't think
of one. I'd love to add a condition like "after all your initial
framework stuff
like key-value-binding etc. is done" but one can only add C
expressions.
Any hint here? I could set a (global?) variable in the method that
opens
the About dialog -- but I don't even know what method that is because
I didn't write it because it's already there when you create a new
Cocoa
Application...
In the debugger type:
b -[NSException raise]
That'll break whenever an exception is raised (which can happen
occasionally during normal use but it's not very often).
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden