|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException avrora.sim.Simulator.BreakPointException
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.
Field Summary | |
int |
address
The address field stores the address of the instruction that caused the breakpoint. |
Instr |
instr
The instr field stores 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. |
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 |
public final Instr instr
instr
field stores the instruction that caused the breakpoint.
public final int address
address
field stores the address of the instruction that caused the breakpoint.
public final State state
state
field stores a reference to the state of the simulator when the breakpoint
occurred, before executing the instruction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |