CVW divides the screen into logically separate sections called display windows, so that a large amount of information can be displayed in an organized and easy-to-read presentation. Each CVW display window is a distinct area on your monitor that operates independently of the other display windows. The name of each display window appears in the window's title bar. The following list describes the eight types of CVW display windows:
CVW display window | Purpose |
Source window | Displays the source code. You can open a second source window to view a header file, another source file, or the same source file at a different location. |
Command window | Accepts debugging commands. |
Watch window | Displays the current values of selected variables. |
Local window | Lists the values of all variables local to the current function or block. |
Memory window | Shows the contents of memory. You can open a second Memory window to view a different section of memory. |
Reg window | Displays the contents of the microprocessor's registers, including flags. |
8087 window | Displays the registers of the coprocessor or its software emulator. |
Help window | Displays the Help options or any Help information that you request. |
Following are the two ways to open CVW display windows:
Choose a window from the View menu. (Note that you can open two Source windows and two Memory windows.)
Perform an operation that automatically opens a window if it is not already open. For example, selecting a Watch variable automatically opens the Watch window.
CVW continually and automatically updates the contents of all its display windows.
To select a window, click anywhere in it. You can also press F6 or SHIFT+F6 to move the focus from one window to the next.
The selected window is called the active window and is marked in three ways:
The window's name is displayed in reverse video.
The cursor appears in the window.
Vertical and horizontal scroll bars appear in the window.
Typing commands in the Source window causes CVW to temporarily shift its focus to the Command window. Whatever you type is appended to the last line in the Command window. If the Command window is closed, CVW beeps in response to your input and ignores the input.
CVW display windows often contain more information than they can display on the screen. Although you cannot change the relative positions of the display windows, you can manipulate a selected window by using the mouse, as follows:
To scroll through the information in the window, use the vertical or horizontal scroll bar.
To maximize a window so that it fills the screen, click the Maximize arrow at the right end of the window's top border. To restore the window to its previous size and position, click the Maximize arrow again.
To change the size of a window:
1.Position the cursor anywhere on the border between two windows.
2.Press and hold down the left mouse button.
Two double-headed arrows appear on the line.
3.Drag the mouse to enlarge or reduce the window.
To close a window, click the Close box at the left end of the top border.
The adjacent windows automatically expand to recover the empty space.
You can also use the following keyboard commands:
Keyboard command | Description |
PAGE UP or PAGE DOWN | Scrolls through the text vertically. |
CTRL+F10 | Maximizes a selected display window. |
CTRL+F8 | Enables the arrow keys to resize the active window. |
CTRL+F4 | Removes a selected display window. |
You can also choose the Maximize, Size, and Close commands from the View menu to manipulate a selected display window.
The different CVW display windows can help you to conduct a variety of debugging activities simultaneously. These activities are initiated and controlled with CVW debugging commands, which you can type on the command line when you start CVW or choose from CVW menus.