Using Breakpoints

Breakpoints give you the ability to stop program execution at one or more addresses. Once stopped, you can use the Trace panel to see the instructions leading up to the breakpoint, use the Memory panel to examine memory contents, or Single Step through the program with the 1802 State panel to see what happens after the breakpoint.

Breakpoints menu screenshot.

To bring up the Breakpoints panel, select the Breakpoints command on TinyELF's Debug menu.

Breakpoint panel screenshot.

Use the Breakpoints panel to add or remove breakpoints for the current ELF computer; each simulated computer has its own set of breakpoints.

To temporarily disable a breakpoint without removing it, uncheck it.

Breakpoint alert sheet screenshot.

When a breakpoint is triggered, the simulated computer enters Single Step mode and displays an alert sheet.