• 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
How to set a Foundation environment variable in the Xcode debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set a Foundation environment variable in the Xcode debugger


  • Subject: How to set a Foundation environment variable in the Xcode debugger
  • From: email@hidden
  • Date: Mon, 26 Feb 2007 13:57:32 +0100 (CET)
  • Importance: Normal

    Hello all,

 in table 9 of technical note number TN2124 (located
at
http://developer.apple.com/technotes/tn2004/tn2124.html#TABFOUNDATIONVAR )
the
environment variable "NSZombieEnabled" is introduced and explained ; when
set to YES this variable provides degugging help. However, I can't figure
out how
to set this variable to YES in my Cocoa project. I tried the following :


    (*inside Xcode's "Debugger Console" pseudo-terminal *)
    (gdb) set variable NSZombieEnabled=YES
    Invalid cast.

   How should it be done ?

                                                                                   Ewan



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to set a Foundation environment variable in the Xcode debugger
      • From: Half Activist <email@hidden>
  • Prev by Date: Re: Newbie: Dynamically filling NSTableView
  • Next by Date: Re: Implications of changing an app's bundle identifier
  • Previous by thread: Re: NSError question
  • Next by thread: Re: How to set a Foundation environment variable in the Xcode debugger
  • Index(es):
    • Date
    • Thread