Index

Breakpoints and Watchpoints


Breakpoints and watchpoints provide a means of pausing program execution under certain circumstances. There are five different kinds of breakpoints:
Watchpoints: pause execution if a specified area of memory is read or written to. Memory watchpoints are set via the pop-up menu in the memory display window.
Port Breakpoints: pause execution on input or output to a specific port. Port breakpoints are set via Run | Add Port Breakpoint
Register Breakpoint: pause execution if a CPU register is read or written to. Register breakpoints are set via the pop-up menu in the CPU status pane.
Execution Breakpoint: pause execution when the CPU is about to execute an instruction at a specific address. Execution breakpoints are set via Run | Add Execution Breakpoint
Special Breakpoint: pause execution when specific conditions exist. These breakpoints can happen when a signal changes, a component condition changes, an exception occurs (CPUs only), or an error occurs. Special breakpoints are set via the Condition handling menu item found in each individual Component menu under the main Components menu.