• 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: I can't step into any message of Objective-C object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't step into any message of Objective-C object


  • Subject: Re: I can't step into any message of Objective-C object
  • From: Chan-gu Lee <email@hidden>
  • Date: Sun, 30 Mar 2008 21:02:47 +0900

Hi, all who concerns to my symptom.

Here is another issue related with this symptom.
I found additional stack frame called _NSSetIntValueAndNotify between callee of
setNumber: and setNumber:.
I think that it may cause Xcode step over the message of Objective-C class.
So, I decided to define another message whose name is setNewValue: at the same
place with setNumber:, and make call setNewValue: instead of setNumber:.


Here is replaced code.

- (IBAction)setNumber:(id)sender
{
	int new_number = [[m_TextField stringValue] intValue] ;
	[m_MyData setNewValue:new_number] ;
	// previouslt, it was [m_MyData setNumber:new_number] ;
}

When I tried with above code, it operated perfectly.
Is there a difference in the way of dispatching message between normal message and
property accessor?


Regards.
Chan-gu Lee

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: I can't step into any message of Objective-C object
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Re: I can't step into any message of Objective-C object (From: Jeffrey Oleander <email@hidden>)

  • Prev by Date: Re: I can't step into any message of Objective-C object
  • Next by Date: Re: I can't step into any message of Objective-C object
  • Previous by thread: Re: I can't step into any message of Objective-C object
  • Next by thread: Re: I can't step into any message of Objective-C object
  • Index(es):
    • Date
    • Thread