> On May 22, 2017, at 8:52 AM, Jonathan Mitchell <[email protected]> wrote:
> 
> Hi
> 
> On occasion I see the following in the Xcode console when running my Obj-C 
> app:
> 
> Context leak detected, msgtracer returned -1
> 
> I have tried setting symbolic breakpoints on NSLog etc but to no avail.
> 
> Is the context in question a CGContext?

The context is an IOAccelContext, which itself is deep in the graphics 
machinery. The log complains once for every 512 objects allocated. Try setting 
a breakpoint on IOAccelLogContextLeak or fprintf. 

You should also file a bug report that this log is too vague.


-- 
Greg Parker     [email protected] <mailto:[email protected]>     Runtime 
Wrangler


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to