public interface IVariable extends IALSBDebuggerObject, IModelExtension
MODEL_ID
Modifier and Type | Method and Description |
---|---|
IStackFrame |
frame()
returns the parent stack frame
|
IValue |
getValue()
returns the value of this variable.
|
boolean |
immutable()
returns whether it is immutable
|
java.lang.String |
name()
returns the name of this variable
|
void |
setValue(IValue value)
sets a new value for this variable.
|
java.lang.String |
type()
returns the type of this variable
|
debugger, toString
modelID
java.lang.String name()
java.lang.String type()
IStackFrame frame()
boolean immutable()
IValue getValue() throws InvalidStackFrameException, InvalidValueException
InvalidStackFrameException
- - if this variable has become invalid.InvalidValueException
- - if the value could not be parsed into a known valuevoid setValue(IValue value) throws InvalidStackFrameException, VariableImmutableException, InvalidValueException
VariableImmutableException
- - if this variable is immutable.InvalidStackFrameException
- - if this variable has become invalid.InvalidValueException
- - if the value could not be serialized, or if the server rejected the value