Re: Need help debugging this
Re: Need help debugging this
- Subject: Re: Need help debugging this
- From: Kiel Gillard <email@hidden>
- Date: Mon, 18 Jul 2011 10:52:18 +1000
Hi Andre,
To help you debug this problem, I suggest you set a breakpoint on the objc_exception_throw exception symbol. Using Xcode 4, this can be done by:
1) From the main menu bar choose View > Navigators > Breakpoint.
2) At the very bottom left of the project window, click the "+" button.
3) From the popup menu, choose "Add Exception Breakpoint...".
Now that you have set your breakpoint on objc_exception_throw, build and run your debugging product and perform the steps to reproduce the problem. I would expect the debugger to break when the offending message is sent.
Kiel
PS: Instructions for Xcode 3 <http://blog.emmerinc.be/index.php/2009/03/19/break-on-exception-in-xcode/>.
On 18/07/2011, at 10:34 AM, Andre Masse wrote:
> Hi,
>
> I'm having problems tracking down this bug:
>
> -[NSCFString string]: unrecognized selector sent to instance 0x7fff71192b70
>
> Is there a way to know which instance is referred at that address? I tried "info symbol *0x7fff71192b70" in gdb and all i get is a blank line. The address is consistent across runs and even after a machine reboot.
>
> Any infos, pointer to doc etc. would be appreciated,
>
> Thanks,
>
> Andre Masse
> _______________________________________________
>
> 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
_______________________________________________
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