GDBVariableObjectExecutor.st
changeset 105 1d4ca4370d05
parent 102 d573a3b2abe2
child 259 651864c2aa29
--- a/GDBVariableObjectExecutor.st	Sat Feb 03 22:37:17 2018 +0000
+++ b/GDBVariableObjectExecutor.st	Sun Feb 04 21:18:15 2018 +0000
@@ -53,9 +53,12 @@
 !GDBVariableObjectExecutor methodsFor:'finalization'!
 
 finalize
-    debugger send: (GDBMI_var_delete arguments: (Array with: '-c' with: name))
+    debugger isConnected ifTrue:[
+        debugger send: (GDBMI_var_delete arguments: (Array with: '-c' with: name))
+    ].
 
     "Created: / 28-01-2018 / 23:26:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 03-02-2018 / 23:31:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !GDBVariableObjectExecutor methodsFor:'initialization'!
@@ -66,3 +69,10 @@
     "Created: / 28-01-2018 / 23:25:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!GDBVariableObjectExecutor class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+