• 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: Debug Directive?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug Directive?


  • Subject: Re: Debug Directive?
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 8 Oct 2007 12:31:45 -0700

On Oct 8, 2007, at 12:07 PM, Gordon Apple wrote:

Is there a simple directive to tell me if compiling in debug mode such
as:

The Xcode project templates have two build configurations by default, "Debug" and "Release." They're not modes, however, just collections of settings, and as you've surmised they don't contain any "DEBUG=1" macro.


Just edit the build settings for your project's debug configuration to add a "DEBUG=1" entry to the Preprocessor Macros build setting and you'll be good to go.

  -- Chris

_______________________________________________
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


References: 
 >Debug Directive? (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Just-in-time debugging / CrashReporterPrefs
  • Next by Date: Am I Being Debugged?
  • Previous by thread: Debug Directive?
  • Next by thread: Am I Being Debugged?
  • Index(es):
    • Date
    • Thread