• 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: ObjC error messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC error messages


  • Subject: Re: ObjC error messages
  • From: Kurt Revis <email@hidden>
  • Date: Fri, 1 Feb 2002 06:34:01 -0800

On Friday, February 1, 2002, at 06:10 AM, Malte Tancred wrote:

I'd like the objc runtime to suppress stderr messages like "selector not recognized" unless, for example, an environment variable is set: NS_OBJC_LOGGING=verbose, or something like that.

It would also be nice if one could tell the runtime to spew out more information. For example, if a category being loaded has the same name as an already existing category, if a method in a category will replace an already existing method, etc.

The Obj-C runtime is part of Darwin, so you could get the source and add these features yourself, if you like.
Probably the hardest part would be getting your runtime to load instead of the system's, but I imagine you could do some sort of dyld hackery to do that. Or just replace /usr/lib/libobjc.dylib with your own version, if you're just using this in-house.

--
Kurt Revis
email@hidden


  • Follow-Ups:
    • Re: ObjC error messages
      • From: Malte Tancred <email@hidden>
References: 
 >ObjC error messages (From: Malte Tancred <email@hidden>)

  • Prev by Date: Re(2): optimizing compilers
  • Next by Date: Re: Need help finding examples of read/writing files in Cocoa
  • Previous by thread: ObjC error messages
  • Next by thread: Re: ObjC error messages
  • Index(es):
    • Date
    • Thread