frysk.stepping
Class NextInstructionStepTestState
java.lang.Object
frysk.stepping.State
frysk.stepping.NextInstructionStepTestState
public class NextInstructionStepTestState
- extends State
Fields inherited from class frysk.stepping.State |
task |
Method Summary |
State |
handleUpdate(TaskStepEngine tse)
Checks to see if the new current frame's FrameIdentifier is equivalent
to the old frame's FrameIdentifier. |
boolean |
isAlive()
Returns whether or not this State a Task which has just died. |
boolean |
isStopped()
Returns whether or not this State represents a stopped Task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NextInstructionStepTestState
public NextInstructionStepTestState(Task task)
handleUpdate
public State handleUpdate(TaskStepEngine tse)
- Checks to see if the new current frame's FrameIdentifier is equivalent
to the old frame's FrameIdentifier. If so, there has been no movement
into a new frame and the operation is treated as an instruction step.
Otherwise, the breakpoint is set and the instruction step-out begins.
- Specified by:
handleUpdate
in class State
- Parameters:
tse
- the Parent TaskStepEngine
- Returns:
- new StoppedState No frame change has happened
isStopped
public boolean isStopped()
- Description copied from class:
State
- Returns whether or not this State represents a stopped Task.
- Specified by:
isStopped
in class State
- Returns:
- true If the Task is stopped
isAlive
public boolean isAlive()
- Description copied from class:
State
- Returns whether or not this State a Task which has just died.
- Specified by:
isAlive
in class State
- Returns:
- true If the Task is alive