3.3.6 Breakpoints

A breakpoint makes your program stop whenever a certain location in the program is reached. When the program stops at a breakpoint we say that this breakpoint has been passed or hit.

For each breakpoint, two numbers are defined: ignore count, which specifies the number of passes before that breakpoint is enabled, and pass count, which specifies the number of passes after which the breakpoint will be deleted.

Each created breakpoint is assigned a sequence number, which can be used to refer to that breakpoint in other commands. Another way to refer to a breakpoint is by the program location it is set at. Thus, each command described in this subsection has two forms: a form which uses breakpoint numbers, and a form that uses program locations. The second form is constructed by prefixing the command with ADDRESS keyword (abbreviated AD). For example, the following command deletes breakpoint number 2 (see section Deleting Breakpoints):

 
MIX> DELETE 2

In contrast, the following command deletes all breakpoints set at address 1000:

 
MIX> ADDRESS DELETE 1000