• 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: Use of NSLog() for debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of NSLog() for debugging


  • Subject: Re: Use of NSLog() for debugging
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Mon, 23 Jul 2001 13:05:07 -0400

On Friday, July 20, 2001, at 08:08 , Art Isbell wrote:

Many postings to this mailing list discuss using NSLog() for debugging. I'd like to encourage you to learn to use the debugger, not NSLog() because

Using NSLog() for debugging does not preclude the use of gdb. Often, there is no way to view the more complex types used in Cocoa. For example,
I often insert NSLog() statements just before gdb breakpoints so that I can see the value(s) held in an NSString, NSNumber, NSArray, etc.



--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/


  • Follow-Ups:
    • Re: Use of NSLog() for debugging
      • From: Glen Simmons <email@hidden>
References: 
 >Use of NSLog() for debugging (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Interthread comms for progress bars
  • Next by Date: Re: Help with help
  • Previous by thread: Use of NSLog() for debugging
  • Next by thread: Re: Use of NSLog() for debugging
  • Index(es):
    • Date
    • Thread