Add some diagnostic logging

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26923 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-10-17 09:51:23 +00:00
parent 15fbeae7c9
commit dfe8525d84

View file

@ -540,7 +540,7 @@ static NSLock *cached_proxies_gate = nil;
+ (void) initialize
{
if (self == [NSConnection class])
if (connectionClass == nil)
{
NSNotificationCenter *nc;
@ -2222,7 +2222,8 @@ static void retEncoder (DOContext *ctxt)
conn = [connectionClass connectionWithReceivePort: rp sendPort: sp];
if (conn == nil)
{
NSLog(@"received port message for unknown connection - %@", msg);
NSLog(@"Received port message for unknown connection - %@", msg);
NSLog(@"All connections: %@", [NSConnection allConnections]);
return;
}
else if ([conn isValid] == NO)