BaseDebugger

class BaseDebugger[source]

Bases: ABC

Define the common interface for debugger implementations.

abstractmethod clear_context()[source]

Clear the stored debugging context.

abstractmethod try_perform(instruction: BaseInstruction, *args, **kwargs)[source]

Execute an instruction with debugging support.

Parameters:
  • instruction (BaseInstruction) – Instruction to execute.

  • args – Positional arguments passed to the instruction.

  • kwargs – Keyword arguments passed to the instruction.