Previous Topic Next topic Print topic


Commandline

Use

Displays CodeWatch command-line arguments.

Command Syntax

COMMANDLINE

Description

The COMMANDLINE command displays the command-line arguments specified to the user program. Command- line arguments may be specified to the user program either on the CodeWatch command line upon invocation of the debugger, or by using the RELOAD command.

Example

In the following two separate examples, the command-line arguments are displayed. Note that the primes executable file being debugged takes no command-line arguments, whereas the myprog executable file was invoked with two command-line arguments.

CodeWatch> COMMANDLINE 
Command line : "primes"

CodeWatch> COMMANDLINE
Command line : "myprog" "-b" "-verbose" 
Previous Topic Next topic Print topic