add some diagnostics

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-11-21 09:35:41 +00:00
parent 9abe5c934c
commit cdbf2720e4
4 changed files with 21 additions and 8 deletions

View file

@ -1975,8 +1975,8 @@ static void retEncoder (DOContext *ctxt)
[self _sendOutRmc: ctxt.encoder type: METHOD_REQUEST];
ctxt.encoder = nil;
NSDebugMLLog(@"NSConnection", @"Sent message (%s) to 0x%x",
GSNameFromSelector(sel), (uintptr_t)self);
NSDebugMLLog(@"NSConnection", @"Sent message (%s) RMX %d to 0x%x",
GSNameFromSelector(sel), ctxt.seq, (uintptr_t)self);
if (needsResponse == NO)
{
@ -2100,7 +2100,8 @@ static void retEncoder (DOContext *ctxt)
}
[self _sendOutRmc: op type: METHOD_REQUEST];
NSDebugMLLog(@"NSConnection", @"Sent message to 0x%x", (uintptr_t)self);
NSDebugMLLog(@"NSConnection", @"Sent message %s RMC %d to 0x%x",
GSNameFromSelector([inv selector]), ctxt.seq, (uintptr_t)self);
if (needsResponse == NO)
{
@ -2569,9 +2570,10 @@ static void callEncoder (DOContext *ctxt)
ctxt.type = forward_type;
if (debug_connection > 1)
{
NSLog(@"Handling message from %@", (uintptr_t)self);
}
NSLog(
@"Handling message (sig %s) RMC %d from %@",
ctxt.type, ctxt.seq, (uintptr_t)self);
_reqInCount++; /* Handling an incoming request. */
#if defined(USE_LIBFFI)