Class DebuggingSupport

java.lang.Object
net.emustudio.emulib.plugin.debugger.DebuggingSupport

public final class DebuggingSupport extends Object
Observer handoff between settings and execution threads. Machine interpretation belongs to the plugin.
  • Constructor Details

  • Method Details

    • isActive

      public boolean isActive()
    • isCapturing

      public boolean isCapturing()
    • requiresAccesses

      public boolean requiresAccesses()
    • observe

      public AutoCloseable observe(Debugging.Observer next, Debugging.Capture capture)
    • begin

      public boolean begin()
      Called for every semantic step, including the inactive fast path.
    • end

      public boolean end(boolean completed, Optional<DecodedInstruction> instruction, OptionalInt nextAddress)
    • canBatchInstructions

      public boolean canBatchInstructions()
      Queries opt-in after begin and before guest effects; a successful result authorizes this step's block.
    • endBlock

      public void endBlock(ExecutedBlock block)
      Completes a block previously authorized by canBatchInstructions; mode changes cannot erase executed facts.