> On Aug 9, 2015, at 5:28 PM, Graham Cox <graham....@bigpond.com> wrote:
> 
> Have you set the debug build to optimise the code? Any optimization tends to 
> screw up what the debugger ‘knows’ about your code - symptoms very like what 
> you’ve described. You need to set optimization to ‘none’ for debug builds.

My optimize level for debug is zero so I do not think that is the problem.

     GCC_OPTIMIZATION_LEVEL_Debug = 0

NSManagedObject does some things differently. For example the only place you 
find NS_REQUIRES_PROPERTY_DEFINITIONS is in NSManagedObject.h and 
NSObjCRuntime.h. Also NSManagedObject has dynamically generated accessor 
methods based on certain rules and conditions.

So in this instance I think the compiler does one thing and the debugger does 
another. My example may represent an edge case for the debugger.

--Richard Charles


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to