[Q] How do I find out where a variable's type is getting changed?
[Q] How do I find out where a variable's type is getting changed?
- Subject: [Q] How do I find out where a variable's type is getting changed?
- From: Mark de Jong <email@hidden>
- Date: Sat, 20 Jul 2002 10:20:45 -0700
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.