Re: Debugging distributed objects
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.