Re: Immediate Nib Loading Error
Re: Immediate Nib Loading Error
- Subject: Re: Immediate Nib Loading Error
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 6 Jan 2009 03:55:07 -0500
On Fri, Jan 2, 2009 at 3:13 PM, Steve Cronin <email@hidden> wrote:
> I'm getting an immediate crash, before I can get anything written into a log
> (before any class +iniitialize).
Have you tried +load?
> The stack at the crash is below.
>
> In the debugger (XC3.1) I enter 'frame 9' and then do a 'po *(id*)
> ($ebp+16)' to see what the offending object is but I just get "No symbol
> "id" in current context."
> I must be mis-remembering how to access arguments to the registers...
You shouldn't need to typecast it to id (it's a po statement after
all), and the value on the stack is going to be an id, not an id*. If
you're on i386, self is at EBP[8] anyway (I'm unfamiliar with the
x86_64 calling convention). Did you try just `po ($ebp+8)`?
> Any thoughts on how to go about debugging this?
My first step would be to let execution continue so that you can see
what exception is being thrown. Breaking on objc_exception_throw
doesn't do a good job of telling you what the exception is.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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