| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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/
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
| References: | |
| >Re: Use of NSLog() for debugging (From: "Clark S. Cox III" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.