public interface JPDAWatch extends MutableVariable
It's strongly recommended not to implement this interface in client code. New methods can be added to this interface at any time to keep up with the JDI functionality.
Modifier and Type | Method and Description |
---|---|
String |
getExceptionDescription()
Returns description of problem is this watch can not be evaluated
in current context.
|
String |
getExpression()
Watched expression.
|
String |
getToStringValue()
Calls
Object.toString() in debugged JVM and returns
its value. |
String |
getType()
Declared type of this local.
|
String |
getValue()
Text representation of current value of this local.
|
void |
remove()
Remove the watch from the list of all watches in the system.
|
void |
setExpression(String expression)
Sets watched expression.
|
void |
setValue(String value)
Sets value of this local represented as text.
|
setFromMirrorObject
createMirrorObject
String getExpression()
void setExpression(String expression)
expression
- a expression to be watchedvoid remove()
String getType()
String getValue()
String getExceptionDescription()
void setValue(String value) throws InvalidExpressionException
setValue
in interface MutableVariable
value
- a new value of this variable represented as textInvalidExpressionException
- if the expression is not correctString getToStringValue() throws InvalidExpressionException
Object.toString()
in debugged JVM and returns
its value.InvalidExpressionException