--- a/GDBVariableObjectChange.st Sun Feb 04 21:18:15 2018 +0000
+++ b/GDBVariableObjectChange.st Sun Feb 04 23:37:35 2018 +0000
@@ -53,6 +53,16 @@
"
! !
+!GDBVariableObjectChange class methodsFor:'*magritte-model-accessing'!
+
+description
+ ^ super description
+ define: #in_scope as: Boolean;
+ yourself
+
+ "Created: / 12-02-2018 / 22:11:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
!GDBVariableObjectChange methodsFor:'accessing'!
id
@@ -67,6 +77,17 @@
!GDBVariableObjectChange methodsFor:'testing'!
+inScope
+ "Return true, if variable object’s current value is valid. false otherwise.
+ If `false` is returned, variable object does not currently hold a valid value
+ but it may hold one in the future if its associated expression comes back
+ into scope."
+
+ ^ in_scope
+
+ "Created: / 12-02-2018 / 22:13:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
isInvalid
"Return true, of the variable object no longer holds a valid value.
This can occur when the executable file being debugged has changed,
@@ -76,14 +97,5 @@
^ in_scope = 'invalid'
"Created: / 29-01-2018 / 22:06:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-isValid
- "Return `true`, if the variable object’s current value is valid,
- `false` otherwise."
-
- ^ in_scope = 'true'
-
- "Created: / 29-01-2018 / 22:05:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !