Following are some basic debugging hints. See documentation for an in-depth discussion of the debugger and its commands.
The usual terminal session starts with a command
ASGN 16 deck
(where deck is the name of UNIX file containing MIX card deck).
- Set the breakpoints using
BREAK
command. - Type
GO
. - Upon encountering a breakpoint, the terminal stops and displays the
instruction to be executed next. Do whatever it is necessary to do
(e.g. examine the memory or registers, set new breakpoints or clear
old ones, etc) and type
CONT
to resume execution of the program. - You may restart the program after any breakpoint by typing
GO
again. - To exit the terminal, type
^D
orQUIT
.