• 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
Extra variable copy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extra variable copy


  • Subject: Extra variable copy
  • From: dct <email@hidden>
  • Date: Wed, 01 Oct 2008 14:50:37 -0700

Somehow I have spawned an extra copy of a variable that I can't delete.

Basics: I defined a variable, double zRect[4], in an Obj-C class header which is used in several subclasses. Sometime later, while debugging, I noticeded that this variable was listed twice under the class. In most cases the first of these two variables showed the expected values, which caused no error; but in some cases the first did not and the second of the two showed the proper values and that was a problem.
To solve the bug I changed the variable name to zRctngl. That cured the bug but I still see the variable zRect listed in the Debugger window even though that variable name no longer occurs anywhere in the class or subclass .h and .m files.


I suppose I could live with this as an oddity but I'd rather get rid of it. Any advice on how I can delete this thing?

Don Thompson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Variable length arrays in debugger
  • Next by Date: Re: Variable length arrays in debugger
  • Previous by thread: Re: using a non standard openssl
  • Next by thread: link error.
  • Index(es):
    • Date
    • Thread