Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.monitors
Class GDBServer.GDBMonitor.StepProbe

    java.lang.Object
      avrora.monitors.GDBServer.GDBMonitor.StepProbe

All Implemented Interfaces:
  Simulator.Probe

Enclosing class:
  GDBServer.GDBMonitor

protected class GDBServer.GDBMonitor.StepProbe
extends java.lang.Object
implements Simulator.Probe

The `StepProbe` class implements a probe that is used to step by a single instruction. It calls the `commandLoop()` method after the target instruction executes, thus stepping by only a single instruction.

Constructor Summary
`protected` | `GDBServer.GDBMonitor.StepProbe()`

Method Summary
`void` | `fireAfter(Instr i, int address, State s)` The `fireAfter()` method is called after the probed instruction executes.
`void` | `fireBefore(Instr i, int address, State s)` The `fireBefore()` method is called before the probed instruction executes.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GDBServer.GDBMonitor.StepProbe

    protected GDBServer.GDBMonitor.StepProbe()

Method Detail

### fireBefore

    public void fireBefore(Instr i,
                           int address,
                           State s)

  Description copied from interface: `Simulator.Probe`
  The `fireBefore()` method is called before the probed instruction executes.

  Specified by:
    `fireBefore` in interface `Simulator.Probe`
  Parameters:
    `i` - the instruction being probed
    `address` - the address at which this instruction resides
    `s` - the state of the simulation

### fireAfter

    public void fireAfter(Instr i,
                          int address,
                          State s)

  Description copied from interface: `Simulator.Probe`
  The `fireAfter()` method is called after the probed instruction executes.

  Specified by:
    `fireAfter` in interface `Simulator.Probe`
  Parameters:
    `i` - the instruction being probed
    `address` - the address at which this instruction resides
    `s` - the state of the simulation

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD