• 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: General Question: Debugging these "NS" Objects: Answered
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: General Question: Debugging these "NS" Objects: Answered


  • Subject: Re: General Question: Debugging these "NS" Objects: Answered
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 15 Feb 2004 21:55:18 -0800

In the old days, I was under the impression that debugging with

std::cout << myVariable << endl ;

was the mark of an amateur, and that _real_ programmers used the debugger.

However, the concensus of the replies I've received is that, since
Objective-C objects are so opaque, even the _real_ programmers are doing
stuff like:

NSLog([gConjunctions description]) ;

So I shall join you all in using this method and not be ashamed of it.
Thanks for all your replies.

Jerry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: General Question: Debugging these "NS" Objects: Answered
      • From: "b.bum" <email@hidden>
    • Re: General Question: Debugging these "NS" Objects: Answered
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: General Question: Debugging these "NS" Objects (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: Better way to deal with NSFontPanel in a preference pane
  • Next by Date: Re: General Question: Debugging these "NS" Objects: Answered
  • Previous by thread: Re: General Question: Debugging these "NS" Objects
  • Next by thread: Re: General Question: Debugging these "NS" Objects: Answered
  • Index(es):
    • Date
    • Thread