|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A value represents the value of a variable. A value representing a complex data structure contains variables.
An implementation may choose to re-use or discard values on iterative thread suspensions. Clients cannot assume that values are identical or equal across iterative thread suspensions and must check for equality on iterative suspensions if they wish to re-use the objects.
An implementation that preserves equality across iterative suspensions may display more desirable behavior in some clients. For example, if variables are preserved while stepping, a UI client would be able to update the UI incrementally, rather than collapse and redraw the entire list or tree.
Clients may implement this interface.
IVariable
Method Summary | |
String |
getReferenceTypeName()
Returns a description of the type of data this value contains or references. |
String |
getValueString()
Returns this value as a String . |
IVariable[] |
getVariables()
Returns the visible variables in this value. |
boolean |
hasVariables()
Returns whether this value currently contains any visible variables. |
boolean |
isAllocated()
Returns whether this value is currently allocated. |
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement |
getDebugTarget, getLaunch, getModelIdentifier |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public String getReferenceTypeName() throws DebugException
DebugException
- if this method fails. Reasons include:
public String getValueString() throws DebugException
String
.
DebugException
- if this method fails. Reasons include:
public boolean isAllocated() throws DebugException
For example, if this value represents
an object that has been garbage collected, false
is returned.
DebugException
- if this method fails. Reasons include:
public IVariable[] getVariables() throws DebugException
DebugException
- if this method fails. Reasons include:
public boolean hasVariables() throws DebugException
DebugException
- if this method fails. Reasons include:
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |