Re: Question about gdb
Re: Question about gdb
- Subject: Re: Question about gdb
- From: Matt Neuburg <email@hidden>
- Date: Fri, 27 Sep 2002 04:23:42 -0700
On Thu, 26 Sep 2002 13:31:06 -0500, "Guy Umbright" <email@hidden>
said:
>
Actually it does. I am having a very similar problem where ints & BOOLS are
>
displaying as <incomplete type> in gdb. NSLog shows the values are fine.
>
And its in just one particular project.
>
> -----Original Message-----
>
> From: Gerben Wierda [mailto:email@hidden]
>
> Sent: Thursday, September 26, 2002 12:48 PM
>
> To: email@hidden
>
> Subject: Question about gdb
>
>
>
>
>
> A few weeks ago when I had a lot of changes in my app, gdb started to
>
> have problems with my binary. Especially, it does not
>
> recognize *most*
>
> of the NSStrings in my app anymore. Suddenly, they are displayed as
>
> being {...} and they cannot be inspected anymore and they
>
> seem to be of
>
> another Class than NSString. Some NSStrings still ca be inspected and
>
> are recognized as such, most are not.
>
> I am sorry I cannot be more clear than this. Does this ring a
>
> bell with
>
> someone?
See my message of a week or two ago, where gdb misled me into thinking that
my strings and arrays were mysteriously being destroyed. I've been
essentially unable to do any meaningful debugging for weeks now. Basically,
my current thinking is that either gdb or the PB interface to it is crap. I
just instrument with NSLog calls, and the heck with gdb. Primitive, but at
least it works. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.