Re: XCode Debugger Summary Format
Re: XCode Debugger Summary Format
- Subject: Re: XCode Debugger Summary Format
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 23 Apr 2009 16:54:13 -0600
On Apr 23, 2009, at 4:29 PM, Eric Hermanson wrote:
Does anyone know why the summary formatter isn't working (I have it
enabled for sure)? Known bug, maybe?
Formatters have a tendency to time out and screw up the state of GDB,
typically when another thread is allocating memory for something at
the same time that the formatters are invoked. Usually, when this
happens, the formatter will go blank, as you noticed, and then GDB
will eventually "time out fetching data" and won't do much of anything
afterwards. (I saw something once that suggested that the ObjC runtime
locks when memory is being allocated; if one of the runtime people
could confirm or deny this with an explanation...)
My advice: Just turn off data formatters. They cause more problems
than they solve, especially if your app is multi-threaded. If you
really need to know the contents of an object, then use the debugger
console.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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