GDBDebugger.st
changeset 219 f5c899ac62ec
parent 217 011d65a54cc5
parent 218 42d5a8a5e14e
child 220 372b64967435
equal deleted inserted replaced
217:011d65a54cc5 219:f5c899ac62ec
   781         "/ Asynchronous send...
   781         "/ Asynchronous send...
   782         self assert:timeout isNil.
   782         self assert:timeout isNil.
   783         block value.
   783         block value.
   784         ^ nil
   784         ^ nil
   785     ].
   785     ].
   786     "/ Synchronous send...
       
   787     self 
   786     self 
   788         assert:Processor activeProcess ~~ connection eventDispatchProcess
   787         assert:Processor activeProcess ~~ connection eventDispatchProcess
   789         message:'Cannot send commands from within event dispatching process. Would deadlock'.            
   788         message:'Cannot send commands from within event dispatching process. Would deadlock'.            
   790     eventHandlers isCollection 
   789     eventHandlers isCollection 
   791         ifTrue:[ handlersArray := eventHandlers ]
   790         ifTrue:[ handlersArray := eventHandlers ]
   830             raise.
   829             raise.
   831     ].
   830     ].
   832     ^ eventHandlers isCollection ifTrue:[ eventsArray ] ifFalse:[ eventsArray first ]
   831     ^ eventHandlers isCollection ifTrue:[ eventsArray ] ifFalse:[ eventsArray first ]
   833 
   832 
   834     "Created: / 08-03-2015 / 07:28:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   833     "Created: / 08-03-2015 / 07:28:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   834     "Modified: / 02-10-2018 / 14:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   835     "Modified (format): / 03-10-2018 / 12:58:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   835     "Modified (format): / 03-10-2018 / 12:58:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   836 ! !
   836 ! !
   837 
   837 
   838 !GDBDebugger methodsFor:'event handling'!
   838 !GDBDebugger methodsFor:'event handling'!
   839 
   839