Debugger inspection
Open Emulator → Debugger to inspect live instructions, set breakpoints, and label addresses. Open Emulator → Recording to capture execution and inspect earlier instructions. Both views share CPU status and watches.
Browse the instruction listing
Compile or load a program, then stop or pause execution. The listing marks the next instruction and shows disassembly, opcode bytes, and labels. The CPU plugin determines the columns.

| Mark | Explanation |
|---|---|
| 1 | Breakpoint row. Bold text marks an instruction with a breakpoint. |
| 2 | Instruction listing. Select an address to inspect it. |
| 3 | Page controls. Browse memory or return to the page containing the PC. |
| 4 | Annotation controls. Use the search field and toolbar to find, add, edit, delete, import, or export labels and ranges. |
- Select an instruction or use the page controls to move through the listing. The PC stays at the current instruction.
- Use Go to the current page to return to the PC. Use Jump to address in the execution toolbar to change the PC.
- When source mappings are available, double-click an instruction or right-click and choose Go to source.
After a successful compile, move the source caret to a mapped line to inspect its instruction. The listing can open mapped source from the 8080, Z80, RAM, RASP, SSEM, and BrainDuck compilers, including 8080 and Z80 include files. Source navigation requires the source files and instruction bytes to match the compilation. Recompile after changing the source. A raw binary image provides disassembly without compiler source mappings.
The live instruction listing hides its values during continuous Run. Pause or stop execution to inspect it again.
Use Fold identical repeats to collapse consecutive identical instructions. Expand a folded row to inspect its individual addresses. Labels and breakpoints help preserve boundaries in the listing. Undecodable addresses, including CPU addresses outside mapped memory, appear as separate [incomplete] rows. Follow incoming and outgoing branch arrows to inspect observed execution paths. Reset clears the observed paths and keeps user annotations.
See the memory window for byte-memory search, bank selection, and editing.
Set and clear breakpoints
A breakpoint stops the CPU before the instruction at its address. Resume with Run to pass that breakpoint once.
- Pause the CPU and find the instruction.
- Right-click the row and choose Set breakpoint. To enter an address directly, choose Set breakpoint… in the execution toolbar and then choose Set.
- Run the program. When execution reaches the address, inspect the instruction and CPU status.
- Right-click the row and choose Unset breakpoint, or enter its address in Set breakpoint… and choose Unset.
For breakpoint behavior in command-line runs, see Automation.
Label instructions and data
Annotations attach a label and type to a single address or inclusive range. Code marks instructions and Data marks bytes to treat as data in the listing.
- Select the instruction or address you want to label.
- Choose Annotate inspected address. Set From, To, Label, and Type, then choose Save.
- Use the annotation search field to find a label. Select a result to return to its address.
Use Edit selected annotation or Delete selected annotation to update a range. Open annotations imports a properties file and skips duplicates. Save annotations exports ranges, labels, and types for sharing. Export files use annotation.N.address, annotation.N.end, annotation.N.label, and annotation.N.kind. In the byte-memory window, the label appears in the tooltip of any cell inside the annotated range.
Watch registers and memory
Add expressions to Watches for values you need while stepping. The panel evaluates them using the selected CPU and its memory mapping.

| Mark | Explanation |
|---|---|
| 1 | Add watch. Open the dialog and enter an expression. |
| 2 | Remove watch. Delete the selected expression. |
| 3 | Refresh. Re-evaluate watches at the current stop. |
| 4 | Show watch help. Check the expression syntax and the CPU’s register names. |
| 5 | Expressions and values. Double-click an expression to edit it. Right-click a value to choose its format. |
- Choose Add watch, enter an expression such as
A, and choose Add. - Step the CPU. Check the value and the changed indicator.
- Right-click the value to choose an available format. Hexadecimal is the default. Options can include decimal, octal, binary, and ASCII.
| Expression | Example on the 8080 |
|---|---|
A or reg(A) | Read the accumulator. |
mem[0x8000] | Read one byte at CPU address 0x8000. |
mem16[0x8000] or mem16be[0x8000] | Read a little-endian or big-endian word. |
(mem[0x8000] & 1) != 0 | Test whether bit 0 is set. |
Watches refresh on steps and stops, or when you refresh a paused CPU. An invalid expression shows Inactive with a reason. Drag watch rows to reorder them. The insertion line shows where the row will land. Each watch keeps its format, and the order is saved with the computer.
On SSEM, line[n] reads a signed 32-bit word from store line n (0–31). operand[n] reads the operand line encoded in the instruction at line n. For example, line[operand[PC / 4]] reads the word referenced by the next instruction. Choose CRT order to display bit 0 first, matching the store display. Hexadecimal and binary formats show all 32 bits.
Keep debugger settings with the computer
emuStudio saves watch expressions, breakpoints, and annotations in the computer configuration under [debugger]. Reopen the same configuration to restore them. Keep a copy of its TOML file if you want to carry those settings to another installation.
Record executed instructions
Record a run when you need to see what already happened. The recording contains the instructions captured by the CPU and any register and memory-access details it provides.
Capture a run
Use Start recording for a recent buffer. Use New recording to set a range, choose a different retention policy, or write the capture to a file.
- Open Emulator → Recording. For a custom capture, choose New recording and prepare its settings.
- Select the prepared recording and choose Start recording. With no prepared recording selected, the button starts a buffer for the last 1,000 instructions.
- Use the execution toolbar to run or step. The recording table fills as instructions execute.
- Choose Stop recording to finish the capture. Choose Save recording to export a completed capture as an
.emutracefile, or Open recording to inspect an existing file.
In New recording, choose First to stop capture at the limit, Last to keep the most recent instructions, or Until stopped (to file) to stream to an .emutrace file. Enable Specific address range to capture instructions within an inclusive range. Pause recording suspends capture while leaving the CPU controls available. Choose Continue recording to resume the same capture.
Inspect recorded state

| Mark | Explanation |
|---|---|
| 1 | Recording actions. Create, open, save, start, pause, or stop a recording. |
| 2 | Recording selector and actions. Select, rename, or remove a recording from the list. |
| 3 | Recorded instructions. The table shows the address, step, and changes for each recorded instruction. |
| 4 | Recording page. Use the buttons on the left to browse longer recordings. The right side shows the first and last instruction addresses on the current page. |
| 5 | Recorded state. Read captured values and follow memory navigation links. |
- Select a recording, then select an instruction in its table.
- Read the recorded state and memory accesses below the table. Turn off Fold identical repeats to inspect each event in a folded group. Use Show unchanged values to include unchanged registers when the recording provides them.
- Select a memory navigation link and use Find previous write to trace an earlier write to that address.
Viewing a recording leaves the live emulator state in place. CPU and memory details vary by computer. When a capture has a valid header and ends early, Open recording shows an incomplete status and lets you inspect the complete events it recovered. Edit recording changes the selected entry’s display name. Delete recording removes the entry from the list and keeps any saved file on disk.