Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Debugger console

The debugger console provides an interactive command line interface in a dedicated tool window (Cmd+K on macOS, Alt+K on Linux/Windows, or via the status bar menu).

The debugger console

Debugger console interface with active breakpoint output.

Opening the console pauses emulation (RUN resumes execution). Closing the console restores the previous execution state.

Input navigation:

Commands are case-insensitive. Addresses and data values use hexadecimal notation (optional $ or 0x prefix). Raster beam coordinates (VPOS, HPOS) use decimal notation.

Command reference

Execution control

CommandDescription
RUN (or GO, CONTINUE, C)Resume execution
PAUSEHalt execution and print current CPU state
STEP [N] (or S)Single-step N CPU instructions (default 1)
OVER (or NEXT, N)Step over BSR, JSR, or TRAP subroutine calls
OUT (or FINISH)Run until current subroutine returns (RTS/RTE/RTR)
FRAME (or F)Advance execution by one video frame
LINEAdvance execution to start of next scanline
CSTEPAdvance execution by one Copper instruction
RUNTO ADDRRun until PC reaches ADDR
TOSLOT V [H]Run until beam reaches raster coordinates (VPOS, HPOS)
RSTEP [N] (or RS)Reverse step N CPU instructions
RFRAMEStep one video frame backward
RRUN (or RC)Run backward to previous breakpoint or watchpoint

Breakpoints and watchpoints

CommandDescription
BREAK ADDR [COND] [IGN N] (or B)Set PC breakpoint (toggle) with optional condition and ignore count
WATCH ADDR [CLASS] [PC=ADDR] (or W)Set memory watchpoint. CLASS can be CPU, BLITTER, DISK, COPPER, or DMA channels (BPL1..BPL8, SPR0..SPR7, AUD0..AUD3)
RWATCH NAME|OFFSET (or RW)Set custom register write watchpoint (e.g. RWATCH DMACON)
BTRAP V [H]Set raster beam trap at decimal coordinates (VPOS, HPOS)
CBREAK ADDRSet Copper instruction breakpoint at hex address
CATCH IRQ N | TRAP N | VEC NCatch CPU exception vectors
BREAKS (or INFO)List all active breakpoints and traps
CLEARBREAKSRemove all active breakpoints and traps

Memory and state inspection

CommandDescription
STATUSPrint current PC, SR, beam position, and frame count
REGS (or R)Display 68000 register file (D0-D7, A0-A7, SR, PC)
MEM ADDR [BYTES] (or M)Hex/ASCII memory dump (default 64 bytes)
DIS [ADDR] [N] (or D)Disassemble N instructions starting at ADDR (default: PC)
COPPER [PC|ADDR] [N]Disassemble Copper list
CUSTOMDisplay custom chipset register summary
BLITSList all blits started in the traced frame (with control words, size, pointers, and start/end beam positions; requires Frame Analyzer)
FIND HEXBYTES [START]Search CPU-visible memory (RAM and ROM) for byte sequence
WRITER ADDRQuery last instruction that modified memory at ADDR
HISTORY [N] (or H)Display recent instruction history
STACK (or BT)Heuristic stack trace of recent return addresses
POKE ADDR VALWrite word value to memory
SETREG REG VALSet CPU register value (e.g. SETREG D0 1234)
TRACE START [PATH]Begin continuous instruction disassembly logging
TRACE STOPStop instruction trace logging
WAVE START [ARGS]Arm VCD logic analyzer capture (see Waveform export (VCD logic analyzer))
WAVE STOPStop VCD capture

Memory delta search (Trainer / Value hunter)

CommandDescription
HUNT START [B|W]Snapshot memory and begin byte or word search (default: word)
HUNT EQ|NE|LT|GT VALFilter candidate addresses by current value comparison
HUNT SAME / HUNT DIFFFilter candidate addresses by unchanged / changed values
HUNT LIST [N]Display surviving address candidates
HUNT OFFReset memory search state

AmigaOS and Exec introspection

CommandDescription
TASKSList active, ready, and waiting Exec tasks
TASK [ADDR|NAME]Inspect detailed Task or Process structure
EXECBASE (or EXEC)Display ExecBase scheduler counters and Disable()/Forbid() nesting
MEMLIST (or AVAIL)Display free memory headers and memory fragmentation
LIBS (or LIBRARIES)List active library bases and versions
DEVS (or DEVICES)List active device drivers
RESOURCES, PORTSList Exec resources and public message ports
SEGMENTSDisplay loaded hunk segments for current CLI process
CATCHTASK NAMEBreak when Exec schedules a task matching NAME
CATCHALERTBreak on exec.library/Alert() (Guru Meditation) calls
GURU [CODE]Decode Guru alert numbers into human-readable descriptions