ObjC runtime debug messages?
ObjC runtime debug messages?
- Subject: ObjC runtime debug messages?
- From: j o a r <email@hidden>
- Date: Tue, 2 Nov 2004 12:11:16 +0100
Hej,
We have a really large and old project, and recently found a place
where a plugin had an implementation of a method in a category that
clashed (same name) as a method in a category in the application
loading the plugin. This was difficult to troubleshoot, and is a nasty
type of bug.
Is there any way to detect when a problem like this one is introduced?
As ObjC doesn't have namespaces in the language, I guess the only way
to prevent it from happening is to use prefixes on class and method
names. The problem could still occur of course, and I think that it
would make sense to be able to detect such a problem.
Can you get that type of info from the runtime, in the form of some
sort of callback method or debug log? Any other ideas?
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden