12.3 CodeView Command Overview

Table R.2 summarizes the CodeView Command-window commands. The next section describes each command in detail.

Table R.2 CodeView Command Summary

Command Name Description

A Assemble Inserts assembly-language instructions
BC Breakpoint Clear Clears one or more breakpoints
BD Breakpoint Disable Disables one or more breakpoints
BE Breakpoint Enable Enables one or more breakpoints
BL Breakpoint List Lists all breakpoints
BP Breakpoint Set Sets a breakpoint
E Animate Executes the program in slow motion
G Go Executes the program
H Help Provides Help information
I Port Input Reads a byte from a hardware port
K Stack Trace Displays active routines K command
L Restart Restarts the program
MC Memory Compare Compares two blocks of memory byte by byte
MD Memory Dump Displays sections of memory in the Command window in various formats
ME Memory Enter Modifies memory
MF Memory Fill Fills a block of memory
MM Memory Move Copies one block of memory to another
MS Memory Search Scans memory for specified byte values
N Radix Changes current radix for entering arguments and displaying values
O Options Views or sets options
O Port Output Outputs a byte to a hardware port
P Program Step Executes the current line and steps over functions
Q Quit Terminates CodeView
R Register Displays the values of registers and flags and optionally changes them
T Trace Executes the current line and traces into functions
T Trace Speed Specifies speed for the Animate command
U Unassemble Displays assembly-language instructions
USE Use Language Specifies the active expression evaluator
VM View Memory Displays sections of memory in a Memory window in various formats
VS View Source Displays source code in varying formats in a Source window
W? Add Watch Sets an expression to be watched
WC Delete Watch Deletes one or more watch expressions
WDG Windows Display Global Heap Displays memory objects in the global heap
WDL Windows Display Local Heap Displays memory objects in the local heap
WDM Windows Display Modules Displays a list of the applications and DLL modules known by Windows
WGH Windows Dereference Global Handle Dereference a global handle
WKA Windows Kill Application Terminates the current task by simulating a fatal error
WL List Watch Lists current watch expressions
WLH Windows Dereference Local Handle Dereference a local handle
X Examine Symbols Displays the addresses and types of symbols
! Shell Escape Runs an MS-DOS shell
" Pause Interrupts execution of redirected commands and waits for keystroke
# Tab Set Sets number of spaces for each tab character
* Comment Displays explanatory text during redirection
. Current Location Displays the current location
/ Search Searches for a regular expression in the source
7 8087 Shows the values of the 8087 or emulator registers and flags
: Delay Delays execution of redirected commands
< Redirect Input Reads input from specified device
> Redirect Output Sends output to specified device
= Redirect Input and Output Sends output and reads input from specified device
? Display Expression Evaluates and displays expressions or symbols
?? Quick Watch Displays variables and data structures in a dialog box
@ Redraw Redraws the screen
\ Screen Exchange Exchanges the CodeView and output screens