frysk.stepping
Class StepOverTestState

java.lang.Object
  extended by frysk.stepping.State
      extended by frysk.stepping.StepOverTestState

public class StepOverTestState
extends State


Field Summary
 
Fields inherited from class frysk.stepping.State
task
 
Constructor Summary
StepOverTestState(Task task)
           
 
Method Summary
 State handleUpdate(TaskStepEngine tse)
          Begins the process of stepping-over a line for a Task.
 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
 

Constructor Detail

StepOverTestState

public StepOverTestState(Task task)
Method Detail

handleUpdate

public State handleUpdate(TaskStepEngine tse)
Begins the process of stepping-over a line for a Task. Continues to step instructions until the line changes. If, when that happens, the Task is still in the same frame as before, simply stops the stepping and treats the operation as a line step. Otherwise, sets a breakpoint and runs the Task until it returns.

Specified by:
handleUpdate in class State
Parameters:
tse - The parent TaskStepEngine
Returns:
new StoppedState If there was no frame change

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