--- a/VDBInferiorConsoleApplication.st Tue Jun 10 17:46:14 2014 +0100
+++ b/VDBInferiorConsoleApplication.st Tue Jun 10 21:12:15 2014 +0100
@@ -71,6 +71,20 @@
!VDBInferiorConsoleApplication methodsFor:'initialization & release'!
+subscribe
+ "Register for debugger events. To be overrided by subclasses"
+
+ super subscribe.
+ (debugger notNil and:[consoleView notNil]) ifTrue:[
+ consoleView stopReaderProcess.
+ consoleView inStream: debugger inferiorStdin.
+ consoleView outStream: debugger inferiorStdout.
+ consoleView startReaderProcessWhenVisible.
+ ].
+
+ "Created: / 10-06-2014 / 21:02:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
unsubscribe
"Unsubscribe myself fo debugger events"