• 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
Debugger weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugger weirdness


  • Subject: Debugger weirdness
  • From: David Dunham <email@hidden>
  • Date: Thu, 16 Mar 2006 20:57:15 -0800

I'm working on an app, and have just started compiling it for Intel (on a MacBook Pro). I tried running under the debugger, and got the following in the debugger console:

Exception name: NSInvalidArgumentException, reason:*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
Parser (0x16daf640)
parse buffer:
'65^done,globals=[varobj={exp="gDefaultFont",value="0x312920",name="var1",numchild="6",type="class NSFont *",typecode="PTR",dynamic_type="class NSFont *",in_scope="true",block_start_addr="no block",block_end_addr="no block"}]
(gdb)
'
parse buffer lengeth = 232
current char index = 224


This repeated a second time, and then I got:

Timed out fetching data. Variable display may be inaccurate.

I *think* this is a problem with Xcode/GDB, but I'm not certain. gDefaultFont is a global, and the debugger eventually stopped on a breakpoint involving it. Trying po gDefaultFont in the console seems to stall.

When run again, gDefaultFont is no longer checked in the Global Variables dialog, and things seem OK (and I can po gDefaultFont).
--


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Can't change Xcode project's CVS repository
  • Next by Date: javadoc for xcode
  • Previous by thread: Re: Xcode and ccache
  • Next by thread: javadoc for xcode
  • Index(es):
    • Date
    • Thread