Re: Interpreting GDB Stack Frames
Re: Interpreting GDB Stack Frames
- Subject: Re: Interpreting GDB Stack Frames
- From: Jens Alfke <email@hidden>
- Date: Sun, 01 Jan 2012 12:49:55 -0800
On Jan 1, 2012, at 7:26 AM, Ayers, Joseph wrote:
> I have a program crashing loading a NIB that isn't explicitly specified. The call frame is below From the call frame it looks like it's called in line 8. How do I reveal the name of the nib file?
The code is raising an exception. To catch this in the debugger:
(1) Switch to the breakpoints view in the Xcode 4 navigator
(2) Press the "+" button at the bottom left
(3) Choose "Add Exception Breakpoint…"
(4) Press the Done button in the window that pops up.
Now run your app and it'll stop at a breakpoint when the exception is raised. Select the topmost stack frame that's in your app code, and you can look at the variables. In this case it would be your -showMediaWindow:, and the current line is probably loading a nib whose name you can look at.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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