public class Breakpoint extends Step
Constructor and Description |
---|
Breakpoint(int line,
int finalLine)
Constructor.
|
Breakpoint(Step step)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate()
Evaluate the debug expression.
|
Expression |
getExpression()
Return the debug expression.
|
java.lang.String |
getExpressionAsString()
Return the debug expression as a string.
|
java.lang.Object |
getValue(java.lang.String varName)
Return the value for a variable declared for the breakpoint.
|
boolean |
hasProperties()
Return true if this breakpoint has a debug expression.
|
boolean |
isExpressionIncorrect()
Return true if the last result of the properties expression is incorrect.
|
void |
removeProperties()
Remove the debug expression.
|
void |
setArguments(java.util.Map<java.lang.Integer,Var> arguments)
Set the step arguments.
|
void |
setExpression(java.lang.String exprAsString)
Set the debug expression for the breakpoint.
|
getArguments, getFinalLine, getLine, getValues, stop
public Breakpoint(int line, int finalLine)
line
- the Breakpoint initial linefinalLine
- the Breakpoint final linepublic Breakpoint(Step step)
step
- the steppublic void setArguments(java.util.Map<java.lang.Integer,Var> arguments)
setArguments
in class Step
arguments
- the argumentspublic java.lang.Object getValue(java.lang.String varName)
varName
- the variable namepublic void setExpression(java.lang.String exprAsString)
exprAsString
- the expresssion as a stringpublic boolean hasProperties()
public boolean isExpressionIncorrect()
public boolean evaluate()
public void removeProperties()
public java.lang.String getExpressionAsString()
public Expression getExpression()
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence