Hi Riccardo. > Hi, > > Riccardo Mottola wrote: >> >> NSLog(@"perfomring operation...."); >> NSLog(@"performing operation on executor: %@", executor); >> >> The first one prints out. The second not. I do not get an exception raised >> though. The program flow seems to interrupt. > to be more precise, I followed Fred's suggestion and added a flush(). > > Thus I have in the pause method: > > paused = NO; > NSLog(@"perfomring operation...."); > NSLog(@"performing operation on executor: %@", executor); > flush(); > [executor performOperation]; > > this is the output: > > 2014-07-28 18:39:13.060 GWorkspace[25838] start pause > 2014-07-28 18:39:21.626 GWorkspace[25838] continue from pause > 2014-07-28 18:39:21.627 GWorkspace[25838] perfomring operation.... > 2014-07-28 18:44:22.132 GWorkspace[25838] WARNING ... waiting for reply 4 > since 2014-07-28 18:39:21 +0000 on <NSConnection: 0x2bfbacb8> local: > '',<NSMessagePort 0x2c44efc8 file name > /tmp/GNUstepSecure1001/NSMessagePort/ports/25838.3> remote '',<NSMessagePort > 0x2c4516a8 file name /tmp/GNUstepSecure1001/NSMessagePort/ports/25838.4> > > the warning comes out later as the timestamp shows. > I wonder.... why even the second NSLog() doesn't print out.
Did you check the value of executor? Is it a valid object at all or does the thread perhaps crash inside the NSLog? Wolfgang _______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org https://lists.gnu.org/mailman/listinfo/gnustep-dev