• 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
Re: XCode Debugger Summary Format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >XCode Debugger Summary Format (From: Eric Hermanson <email@hidden>)

  • Prev by Date: Re: NSTableView variable row height and noteHeightOfRowsWithIndexesChanged during live resize
  • Next by Date: Detecting changes to NSPopUpButtonCell in an NSTableView
  • Previous by thread: XCode Debugger Summary Format
  • Next by thread: Detecting changes to NSPopUpButtonCell in an NSTableView
  • Index(es):
    • Date
    • Thread