Class: Variable
| Defined in: | src/varobj.coffee |
Overview
Class representing a target variable Should not be created directly, but by calling VariableManager#add.
Variables Summary
- watchpoint =
-
null
Instance Method Summary
- # (Disposable) onChanged(cb) Invoke the given callback function when this variable is changed.
- # (Disposable) onDeleted(cb) Invoke the given callback function when this variable is deleted.
- # (Promise) assign(val) Assign a new value to this variable
- # (void) setWatch() Set a watchpoint on this variable
- # (void) clearWatch() Clear the watchpoint on this variable
- # (void) remove() Remove this variable
- # (void) addChildren() Add children
Instance Method Details
#
(Disposable)
onChanged(cb)
Invoke the given callback function when this variable is changed.
#
(Disposable)
onDeleted(cb)
Invoke the given callback function when this variable is deleted.
#
(Promise)
assign(val)
Assign a new value to this variable
#
(void)
setWatch()
Set a watchpoint on this variable
#
(void)
clearWatch()
Clear the watchpoint on this variable
#
(void)
remove()
Remove this variable
#
(void)
addChildren()
Add children