3.3.6.1 Setting Breakpoints

Breakpoints are set with the BREAK command (abbreviated B).

BREAK location
B location

Set a breakpoint at the given location. Both ignore and pass counts are set to 0. A sequence number assigned to the breakpoint is displayed, as shown in the example below:

 
MIX> BR 1000
BREAKPOINT 1 IS SET AT ADDRESS 1000

This sequence number can then be used to refer to this breakpoint.

BREAK TEMP location
BT location
TB location

Sets a temporary breakpoint at the given location. A temporary breakpoint is a breakpoint which is deleted after a single hit. In other words, it has pass count set to 1.

This command is equivalent to:

 
BREAK location
ADDRESS PASSCOUNT location 1

See section Configure Breakpoints, for information about PASSCOUNT command.

You can set any number of breakpoints at the same place in your program. This feature is not very useful at the moment, it is reserved for future use.