Search code examples
iphonexcodedebuggingnsmanagedobject

How can I debug NSManagedObjects in XCode debugger?


How do you get to the values of your Entity (sub class of NSManaged Object) when in the XCode debugger? I get lost among the NSObject and _cd_XXX structures.


Solution

  • If you select the entity in the variables pane and then choose "Print Description to Console" from the contextual menu, you get a textual dump of the entity.