From 3d68362fde8984b8340d30ed45b43f6b5d4f808b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 4 Aug 2007 00:51:58 -0700 Subject: [PATCH] In dataReceived:deliverTo: print out the data we received *before* we call the delivery selector so that it prints to NSLog in the right order * Source/DebuggerConnection.m: ([DebuggerConnection dataReceived:deliverTo:]) --- Source/DebuggerConnection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DebuggerConnection.m b/Source/DebuggerConnection.m index 86b8601..d139b32 100644 --- a/Source/DebuggerConnection.m +++ b/Source/DebuggerConnection.m @@ -100,12 +100,12 @@ */ - (void)dataReceived: (NSString *)response deliverTo: (SEL)selector { + NSLog(@"receive = %@", response); // if the caller of [_socket receive:] specified a deliverTo, just forward the message to them if (selector != nil) { [self performSelector: selector withObject: response]; } - NSLog(@"receive = %@", response); } /** -- 2.43.5