• 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
[ANN] 10.5.2 Core Data debug library available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] 10.5.2 Core Data debug library available


  • Subject: [ANN] 10.5.2 Core Data debug library available
  • From: Ben Trumbull <email@hidden>
  • Date: Thu, 13 Mar 2008 13:25:16 -0700

All,

For ADC members, debug libraries for 10.5, and now 10.5.1 & 10.5.2, are available in the Developer Tools section of Downloads as "Debug and Profile Libraries for Mac OS X 10.5".

There's a tech note about how to use these frameworks with DYLD_IMAGE_SUFFIX. 'man dyld' also works.

Since there are many different debug libraries, one might consider renaming the suffix for just the libraries with which you currently need to work. (i.e. CoreData_debug -> CoreData_threading)

For Core Data developers, the most interesting aspect of this is the addition of assertions to enforce Core Data's multi-threading policy. You can enable these assertions by setting the user default
-com.apple.CoreData.ThreadingDebug 3
(in cmd line style)


This works best run in gdb with some additional breakpoints:

future-break handleFailureInMethod:object:file:lineNumber:description:
future-break handleFailureInFunction:file:lineNumber:description:
future-break malloc_printf

As a tangent, while not necessarily errors, I find it useful to sometimes toggle these:

future-break raise:format:arguments:
future-break objc_exception_throw
future-break +[NSError errorWithDomain:code:userInfo:]

--

-Ben
_______________________________________________

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


  • Prev by Date: Re: What is the status on the New Cocoa 2.0 Books?
  • Next by Date: Re: sorting large tables
  • Previous by thread: Re: How does Omnifocus avoid getting focus?
  • Next by thread: File upload with NSURLRequest fails
  • Index(es):
    • Date
    • Thread