On Dec 21, 2009, at 12:14 PM, PCWiz wrote: > I keep getting these errors in the Console: > > 2009-12-21 13:07:48.420 TwitMenu[2512:a0f] *** -[NSRecursiveLock unlock]: > lock (<NSRecursiveLock: 0x20069d980> '(null)') unlocked when not locked > 2009-12-21 13:07:48.420 TwitMenu[2512:a0f] *** Break on _NSLockError() to > debug. > 2009-12-21 13:07:48.437 TwitMenu[2512:4103] *** -[NSRecursiveLock finalize]: > lock (<NSRecursiveLock: 0x20069dca0> '(null)') finalized while still in use > 2009-12-21 13:07:48.437 TwitMenu[2512:4103] *** Break on _NSLockError() to > debug. > > And as the instructions say, I've set a breakpoint on _NSLockError and it > seems to be set properly as show here: > > http://img39.imageshack.us/img39/9477/screenshot20091221at110.png > > But when I run with "Build and Debug" it never stops at that breakpoint.
This is a bug in Foundation (rdar://6855192). The compiler optimizer inlined away the call to _NSLockError() inside Foundation, so it bypasses the breakpoint. Try putting a breakpoint on NSLog() instead. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com