• 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: Core Data and unknown types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and unknown types


  • Subject: Re: Core Data and unknown types
  • From: Alexander Griekspoor <email@hidden>
  • Date: Mon, 11 Dec 2006 23:12:07 +0000

Hi Ken, and the others,

Thank you very much for your help. At first I had the regular breakpoints set up:

fb -[NSException raise]
fb -[_NSZombie forward::]
fb objc_exception_throw
fb auto_zone_resurrect
fb malloc_printf

This however didn't catch the problem, which was just a plan "unknown type" message being thrown up. Thanks to Ken's suggestion and the advice how to set the breakpoint up in XCode on NSLog, I managed to catch the message. It turned out that if instead of my managedobject I would get a controllermarker, I would feed something to my tokenfield that was of "unknown type"....
Thanks everyone!
Alex




i can't tell you in general how to do it from gdb as i use xcode. within xcode, open the breakpoints window and double-click in the row-column that tells you to double click. then simply type in NSLog.
hth,
ken


At 3:18 PM +0000 12/8/06, Alexander Griekspoor wrote:
Hi Ken,

Thanks for the help. Now I'm not very experience with GDB, how would I set a breakpoint on NSLog in general?
I tried "fb NSLog()" but I don't think that works...
Alex



On 2006-12-11 02:26, Scott Stevenson said:

>> messages or that someone knows how to set a breakpoint the moment
>> these messages would be displayed...

>
>You can try setting a breakpoint on [NSException raise] (there's a
>better one but I don't remember what it is).


I'm not sure it's 'better' but there is also 'objc_exception_throw'. IIRC you need to set breakpoints on both of them to catch everything.

***********************************
Mek (Alexander Griekspoor)
     MekenTosj.com
Web: http://www.mekentosj.com
Mail:  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


  • Prev by Date: Re: PDFKit: problem with PDFView goToDestination across PDFViews.
  • Next by Date: Re: Re: PDFKit: problem with PDFView goToDestination across PDFViews.
  • Previous by thread: Re: Core Data and unknown types
  • Next by thread: NSDocument subclass, File Wrappers & Core Data
  • Index(es):
    • Date
    • Thread