Re: Determining Class from Instance address
Re: Determining Class from Instance address
- Subject: Re: Determining Class from Instance address
- From: "Sherm Pendley" <email@hidden>
- Date: Fri, 21 Mar 2008 10:55:09 -0400
On Fri, Mar 21, 2008 at 10:40 AM, Joseph Ayers <email@hidden> wrote:
> Given a log messages like:
> 2008-03-21 09:06:35.464 Roboplasm[12210:10b] *** -[VideoController
> measureMethodChanged:]: unrecognized selector sent to instance 0x3dfbc0
>
> How does one determine the sender and self....
>
> In my code VideoController doesn't get sent measureMethodChanged...
Does *something* get sent that message? Messages like this often indicate a
memory management problem, where an object is released, then another one is
created at the same address, and receives messages intended for the first
object.
So, if you are sending -measureMethodChanged: somewhere in your code, you
want to make sure that your code is following the standard memory management
policy for the intended target of that message.
<
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
>
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden