• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Q] How do I find out where a variable's type is getting changed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >[Q] How do I find out where a variable's type is getting changed? (From: Mark de Jong <email@hidden>)

  • Prev by Date: Re: use TIFF or PNG for icons?
  • Next by Date: Re: [Q] How do I find out where a variable's type is getting changed?
  • Previous by thread: [Q] How do I find out where a variable's type is getting changed?
  • Next by thread: Re: [Q] How do I find out where a variable's type is getting changed?
  • Index(es):
    • Date
    • Thread