problems debugging cocoa app w/ gdb
problems debugging cocoa app w/ gdb
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.
i've been working around this via assorted NSLog statements, but its
getting really old. a clean build did not make the problem go away.
i'm using 10.5.5 and objective-c++ and the latest release xcode tools.
can anyone suggest how to fix this?
thanx,
ken
_______________________________________________
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