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: Mark de Jong <email@hidden>
- Date: Sat, 20 Jul 2002 10:37:30 -0700
Sorry about the waste of bandwidth.
As long as I retain my object, things are fine.
Thanks, Andrew Pinski, for pointing out the obvious to me!
My question about watching variables remains. Is this fixed in PB v2?
Can I get "watch" functionality by using gdb from a Terminal window?
-- Mark
On Saturday, July 20, 2002, at 10:20 AM, 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.