frysk.stepping
Class NextInstructionStepTestState

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

public class NextInstructionStepTestState
extends State


Constructor Summary
NextInstructionStepTestState(Task 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NextInstructionStepTestState

public NextInstructionStepTestState(Task task)
Method Detail

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