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

This email sent to [email protected]

Reply via email to