avrora.actions
Class SimAction.BreakPointException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byavrora.actions.SimAction.BreakPointException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SimAction

public static class SimAction.BreakPointException
extends java.lang.RuntimeException

The BreakPointException is an exception that is thrown by the simulator before it executes an instruction which has a breakpoint. When this exception is thrown within the simulator, the simulator is left in a state where it is ready to be resumed where it left off by the start() method. When resuming, the breakpointed instruction will not cause a second BreakPointException until the the instruction is executed a second time.

See Also:
Serialized Form

Field Summary
 int address
          The address field stores the address of the instruction that caused the breakpoint.
 State state
          The state field stores a reference to the state of the simulator when the breakpoint occurred, before executing the instruction.
 
Constructor Summary
SimAction.BreakPointException(int a, State s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

address

public final int address
The address field stores the address of the instruction that caused the breakpoint.


state

public final State state
The state field stores a reference to the state of the simulator when the breakpoint occurred, before executing the instruction.

Constructor Detail

SimAction.BreakPointException

public SimAction.BreakPointException(int a,
                                     State s)