How to debug these errors when there is no code?


#1

I thought I followed the directions in the book, but I get the following error. Any advice on how to debug code when I didn’t write any!? How to zero in on what is causing an error like this?

Rob

2014-02-03 18:10:11.426 CarLot[16404:303] Cannot create BOOL from object <NSManagedObject: 0x6080000b7580> (entity: Car; id: 0x600000039b20 <x-coredata://8690AA46-E813-4C5A-BE6F-3EE37FE4D452/Car/p1> ; data: { condition = 0; datePurchased = nil; makeModel = nil; onSpecial = nil; photo = nil; price = 0; }) of class NSManagedObject 2014-02-03 18:10:11.429 CarLot[16404:303] ( 0 CoreFoundation 0x00007fff9702c41c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff93fdbe75 objc_exception_throw + 43 2 CoreFoundation 0x00007fff9702c1f8 +[NSException raise:format:arguments:] + 104 3 AppKit 0x00007fff92ef5934 _NSBoolFromValue + 420 4 AppKit 0x00007fff931d10ad -[NSDisplayFontBinder _fontFromBindingsWithMode:referenceFont:fallbackFont:] + 787 5 AppKit 0x00007fff931d0c9e -[NSDisplayFontBinder _adjustFontOfObject:mode:triggerRedisplay:compareDirectly:toFont:] + 182 6 AppKit 0x00007fff931d0ba3 -[NSDisplayFontBinder _observeValueForKeyPath:ofObject:context:] + 309 7 Foundation 0x00007fff8ff8bc18 NSKeyValueNotifyObserver + 387 8 Foundation 0x00007fff8ff8ade8 NSKeyValueDidChange + 453


#2

There seems to be a problem with the bindings related to font.