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
--- /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