• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Need help debugging this
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Need help debugging this (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: Need help debugging this
  • Next by Date: Re: Need help debugging this
  • Previous by thread: Re: Need help debugging this
  • Next by thread: Re: Need help debugging this
  • Index(es):
    • Date
    • Thread