window

Format: window [num] [{cmds}]

This command creates, deletes, lists, or changes the contents of a monitor window. A monitor window captures the output of a command or command list. See "Command list". The commands are executed every time the program stops, and the output of these commands is printed in the window. There is a limit of 100 windows per program that are defined. The command list may contain multiple commands separated by a semicolon (;). Multiple commands must be surrounded by curly braces (for example, window {calls; B}). Monitor windows have the same standard window features as data explorer windows.

This command has several forms:
Form Meaning
window
Lists all existing windows and their assigned commands in order.
window num
Deletes window number num. The number is displayed on the window border. For example, window 1 is titled MONITOR 1, therefore entering window 1 removes that window.
window {cmds}
Creates a window displaying the results of given command list.
window num {cmds}
Replaces the command list for monitor number num with cmds. The command list also changes by left-clicking the command's name in the window in the upper left hand corner.
window 0
Deletes all existing windows.

For example, the command window calls displays a stack trace. To change the window to display the breakpoints, use the command window 1 B.


Previous

Next



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