The following options can be added to the command line that invokes CodeView. The Starting Up CodeView section of CodeView online help contains more information about these options.
/2 |
Two-monitor debugging. The display adapters must be configured for different addresses, such as HerculesÒ and VGA. The application is displayed on the primary monitor (the monitor the operating system normally directs output to), while CodeView's output appears on the secondary monitor. |
/25 |
Display in 25-line mode. |
/43 |
Display in 43-line mode. |
/50 |
Display in 50-line mode. |
/B |
Display in black and white. This assures that the display is readable when a color display is not used. You should also specify this option along with the /2 option when the secondary monitor is black and white. |
/Ccommands |
Execute commands immediately on start-up. The commands must be separated with a semicolon. If any commands require a space, enclose the entire list in double quotation marks. |
/D[[buffersize]] |
Use disk overlays to increase the size of the program that can be debugged, where buffersize is the decimal size of the overlay buffer, in kilobytes. Smaller buffers leave more room for the program being debugged, while larger buffers increase the speed of execution. The acceptable range is 16K to 128K. The default size is 64K. (DOS only.) |
/E |
Use expanded memory for symbolic information and CodeView overlays. (DOS only.) |
/F |
Flip screen video pages (rather than swap). When your application does not use graphics, eight video screen pages are available. Switching from CodeView to the output screen is accomplished by directly selecting the appropriate video page. Cannot be used with /S. (DOS only.) |
/G |
Suppress “snow” on a CGA display. (DOS only.) |
/I[[0|1]] |
Control trapping of nonmaskable interrupts and 8259 interrupts. A value of 0 forces interrupt trapping on machines CodeView doesn't recognize as IBM-compatible. A value of 1 (the default) disables interrupt trapping. (DOS only.) |
/K |
Disable keyboard monitors (under OS/2) and keyboard interrupts (under DOS). This allows you to regain control of the computer under deadlock conditions, but prevents CodeView from recording keyboard entries when recording a debug session. |
/Ldll |
Load symbolic information for the specified dynamic-link libraries (DLL). (OS/2 only.) This option is required only for DLLs loaded with DOSLOADMODULE. CodeView automatically loads debug information for statically linked DLLs. |
/M |
Disable CodeView's use of the mouse. This simplifies debugging programs that accept mouse commands. |
/N[[0|1]] |
Identical to /I, but applies only to nonmaskable interrupts. (DOS only.) |
/O |
Debug child processes (“offspring”). (OS/2 only.) |
/R |
Use 80386/486 hardware debug registers to speed execution. (DOS only.) |
/S |
Swap screen in buffers (rather than flip). When your program uses graphics, all eight video pages must be used. Switching from CodeView to the output screen is accomplished by saving the previous screen in a buffer. Cannot be used with /F. (DOS only.) |
/TSF |
Toggle (invert) the sense of the Statefileread switch in TOOLS.INI. If Statefileread is set to no (do not read the status file), the status file is read, and vice-versa. |
/X |
Use extended memory for CodeView and symbolic information. (DOS only.) |