monitor

Format: monitor [ 0 | {cmds} | [num [{cmds}]] ]

Saves the command list cmds to send to the debugger every time the program stops. An unlimited number of monitors can be active at any time. However, you should be careful when using this command, as the output is quite tedious if your code stops frequently.

This command has five forms:
Form Meaning
monitor
Lists all of the monitors in order.
monitor num
Deletes monitor number num. This does not renumber the current monitors so that if you have four monitors and delete number 3, then the remaining three are numbered 1, 2, 4, creating an "empty slot" where 3 was formerly located.
monitor {cmds}
Inserts a monitor with the given command list in the first available empty slot.
monitor num {cmds}
Puts a monitor with the given command list in the num slot. It replaces any existing monitor in that position.
monitor 0
Deletes all monitors.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.