Fix in debugger console: properly handle errors
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 27 Feb 2015 13:19:41 +0100
changeset 35 f6e4876af2e7
parent 34 cda31dfd5386
child 36 60a0713ab8c3
Fix in debugger console: properly handle errors Must signal that command completed and nil-out outstanding command caches even if command endup with an error
.hgignore
VDBDebuggerConsoleApplication.st
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Fri Feb 27 13:19:41 2015 +0100
@@ -0,0 +1,16 @@
+
+syntax: glob
+*Init.c   
+makefile
+*.so
+*.H
+*.o
+*.STH
+*.sc
+objbc
+objvc
+*.class
+java/libs/*.jar
+java/libs-src/*.jar
+*-Test.xml
+st.chg
--- a/VDBDebuggerConsoleApplication.st	Tue Sep 30 09:55:03 2014 +0100
+++ b/VDBDebuggerConsoleApplication.st	Fri Feb 27 13:19:41 2015 +0100
@@ -1,5 +1,7 @@
 "{ Package: 'jv:vdb' }"
 
+"{ NameSpace: Smalltalk }"
+
 VDBAbstractApplication subclass:#VDBDebuggerConsoleApplication
 	instanceVariableNames:'consoleView consoleInput consoleOutput consoleOutputLock
 		consoleProcess consolePromptPrinted outstandingCommand
@@ -99,14 +101,14 @@
                 outstandingCommand isMICommand ifTrue:[ 
                     self showCR: ('Done ( %1 , see even log for result value)' bindWith: outstandingCommand value)
                 ].
-                outstandingCommand := outstandingCommandToken := nil. 
-                outstandingCommandBlocker signalForAll.
-            ]
+            ].
+            outstandingCommand := outstandingCommandToken := nil. 
+            outstandingCommandBlocker signalForAll.     
         ].
     ].
 
     "Created: / 06-06-2014 / 22:44:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 30-09-2014 / 09:39:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 27-02-2015 / 13:01:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 onEventSetProcessingFinished: event