public interface IWatchExpressionResult
org.eclipse.debug.core.model.IWatchExpressionDelegate
.
A watch expression reports the value of the evaluation
and any errors or exceptions that occurred.
Clients may implement this interface.
IWatchExpressionDelegate
Modifier and Type | Method and Description |
---|---|
String[] |
getErrorMessages()
Returns an array of problem messages.
|
DebugException |
getException()
Returns any exception that occurred while performing the evaluation
or
null if an exception did not occur. |
String |
getExpressionText()
Returns the expression that was evaluated.
|
IValue |
getValue()
Returns the value representing the result of the
evaluation, or
null if the
associated evaluation failed. |
boolean |
hasErrors()
Returns whether the evaluation had any problems
or if an exception occurred while performing the
evaluation.
|
IValue getValue()
null
if the
associated evaluation failed. If
the associated evaluation failed, there will
be problems, or an exception in this result.null
boolean hasErrors()
getErrorMessages()
,
getException()
String[] getErrorMessages()
String getExpressionText()
DebugException getException()
null
if an exception did not occur.
The exception will be a debug exception or a debug exception
that wrappers a debug model specific exception that indicates a problem communicating
with the target or with actually performing some action in the target.DebugException
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.