Re: [Q] How do I find out where a variable's type is getting changed?
Re: [Q] How do I find out where a variable's type is getting changed?
- Subject: Re: [Q] How do I find out where a variable's type is getting changed?
- From: Andrew Pinski <email@hidden>
- Date: Sat, 20 Jul 2002 13:28:52 -0400
Did you forget to retain the object?
Thanks,
Andrew Pinski
On Saturday, July 20, 2002, at 01:20 , Mark de Jong wrote:
I've got a variable that starts life as a "NSMutableArray" and
somewhere in the code it gets changed to a "NSIdEnumerator",
according to GDB. I'm not even sure how this can happen.
Needless to say, this is a serious bug that causes other code
to fail. :-) For example, I get a "-[NSIdEnumerator count]:
selector not recognized" message when I try to get the number
of elements in the array.
I've tried using "watch" statements, but they cause serious
delays ... and then I read somewhere that they are not fully
supported or that they do not function correctly.
I'm using PB 1.1.1 at this time.
So, my question: how do I find out what's trouncing on my
variable and changing its type?
Thanks!
-- Mark
_______________________________________________
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.
_______________________________________________
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.