GDBVariableObject.st
changeset 109 f57ce907abf4
parent 108 f34505ec6a7f
child 110 727d8a9e6d5d
--- a/GDBVariableObject.st	Tue Feb 13 22:13:28 2018 +0000
+++ b/GDBVariableObject.st	Tue Feb 13 22:35:15 2018 +0000
@@ -217,6 +217,17 @@
     "Modified: / 12-02-2018 / 22:00:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!GDBVariableObject methodsFor:'copying'!
+
+duplicate
+    "Create and returns a duplicate of the receiver, representing
+     the same value. Other than thatm the eturned duplicate is completely 
+     independent"
+    ^ debugger evaluate: self path in: self frame
+
+    "Created: / 13-02-2018 / 22:17:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
 !GDBVariableObject methodsFor:'displaying'!
 
 displayOn: aStream