Re: ObjC error messages
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