• 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: Debugging distributed objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging distributed objects


  • Subject: Re: Debugging distributed objects
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 22 Apr 2003 14:57:59 -0700

On Tuesday, April 22, 2003, at 02:37 PM, ROSE,ROBERT W (HP-Corvallis,ex1) wrote:

Hi all, I think I may be getting myself into a lot of trouble here, but I
want to be able to debug distributed objects. There's an operating system
feature I'm trying to understand that uses distributed objects to
communicate between threads. Since all distributed object messaging has to,
at one point or another, serialize the selector message and go through an
NSPort to communicate, is there a way I can "insert myself" into the NSPort
transaction and printf everything that's going across the connection?

Or, is there a way I can tell NSApplication in its event handling loop to
print out all of the messages that it receives through distributed objects?

That could be tricky, since NSPort is a class cluster.

Trying to reverse-engineer something in the kit by examining the port messages could leave you with broken code if we change what we're sending through those ports.

What is it you're trying to do?

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Debugging distributed objects (From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <email@hidden>)

  • Prev by Date: Debugging distributed objects
  • Next by Date: Re: Get RTF or HTML from web and show in NSTextView
  • Previous by thread: Debugging distributed objects
  • Next by thread: RTF problem
  • Index(es):
    • Date
    • Thread