Interface Scheduler.RunResult

All Known Subinterfaces:
DebuggerEmulationService.EmulationResult
All Known Implementing Classes:
DebuggerEmulationService.RecordEmulationResult, Scheduler.RecordRunResult
Enclosing interface:
Scheduler

public static interface Scheduler.RunResult
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the error that interrupted execution
    Get the actual schedule executed
  • Method Details

    • schedule

      TraceSchedule schedule()
      Get the actual schedule executed

      It is possible for the machine to be interrupted mid-instruction. If this is the case, the trace schedule will indicate the p-code steps taken.

      Returns:
      the schedule
    • error

      Throwable error()
      Get the error that interrupted execution

      Ideally, this is a InterruptPcodeExecutionException, indicating a breakpoint trapped the emulator, but it could be a number of things:

      • An instruction decode error
      • An unimplemented instruction
      • An unimplemented p-code userop
      • An error accessing the machine state
      • A runtime error in the implementation of a p-code userop
      • A runtime error in the implementation of the emulator, in which case, a bug should be filed
      Returns:
      the error