• 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
ObjC runtime debug messages?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Nested Components vs Custom View
  • Next by Date: Re: Nested Components vs Custom View
  • Previous by thread: Re: Nested Components vs Custom View
  • Next by thread: How to check for afp connections?
  • Index(es):
    • Date
    • Thread