• 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: Breaking into debugger after program hangs....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking into debugger after program hangs....


  • Subject: Re: Breaking into debugger after program hangs....
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 28 Apr 2005 19:48:18 -0700


On Apr 28, 2005, at 7:42 PM, John Draper wrote:

j o a r wrote:



On 28 apr 2005, at 22.43, John Draper wrote:


I never DID understand this "Toll free" concept.... can someone come forward and explain
this? Isn't this just a kind of "wrapper" around the lower level Carbon Procedural calls?




It means that at the data level, the two are one and the same (for example CFArray == NSArray), and that any operation that can work on one, can also work on the other (possibly requiring a "cast" to help identify the type).


One can be casted to another? Even though one is an object, and another is a procedure call?

One is an object in Objective-C which in reality is just a structure in C managed by the objective-c runtime. This structure is the same as a CFArray structure (CFArrary contains the structure header needed to make Objective-C runtime happy).


So you are saying the NSArray Method maps to a procedure that uses a CFArray?

Yeah NSArray knows (its code) knows how to call the right CFArray functions as needed.


-Shawn


_______________________________________________ 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
References: 
 >Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: Ondra Cada <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: Nick Zitzmann <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: j o a r <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)

  • Prev by Date: Re: Breaking into debugger after program hangs....
  • Next by Date: Re: Breaking into debugger after program hangs....
  • Previous by thread: Re: Breaking into debugger after program hangs....
  • Next by thread: Re: Breaking into debugger after program hangs....
  • Index(es):
    • Date
    • Thread