Re: problems debugging cocoa app w/ gdb
Re: problems debugging cocoa app w/ gdb
- Subject: Re: problems debugging cocoa app w/ gdb
- From: Ken Thomases <email@hidden>
- Date: Mon, 6 Apr 2009 18:48:37 -0500
On Apr 6, 2009, at 2:52 PM, email@hidden wrote:
for sometime now (i don't remember when this started, possibly w/
leopard or 10.5.5 or the previous dev tools update), i've been
getting a number of lines like the following on the debugger console
when hitting breakpoints:
warning: Trying to look up "NSString" in 'this' but 'this' is not an
aggregate
warning: Trying to look up "description" in 'this' but 'this' is not
an aggregate
warning: Trying to look up "void" in 'this' but 'this' is not an
aggregate
warning: Trying to look up "_pbxgdb_objc_dynamic_type" in 'this' but
'this' is not an aggregate
warning: Trying to look up "_pbxgdb_objc_compute_super_class_list"
in 'this' but 'this' is not an aggregate
warning: Trying to look up "_pbxgdb_cf_introspect_string" in 'this'
but 'this' is not an aggregate
additionally, the variables pane of the debugger window (the top
right pane) will show
<incomplete type>
as the value of many of my variables, usually scaler type (e.g.,
int, BOOL) or variables declared as: id.
can anyone suggest how to fix this?
I'm not sure what's going wrong, but here are a couple of things to
check:
With the debugger active, bring up the Expressions window (Run > Show
> Expressions). Clear out any stale entries.
Check if you have a (hidden) .gdbinit file in your home directory, or
possibly in the root directory. Move it aside and restart the debugger.
Cheers,
Ken
_______________________________________________
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