Previous Topic Next topic Print topic


CodeWatch Commands and Options

A debugger command is made up of one or two keywords. The debugger command line contains a debugger command and optional or required arguments, depending on the command.

In the general format for the command-line, optional items are enclosed in oversized, square brackets. Note that the regular-sized square brackets in the action-list argument are required delimiters.

The general command-line format is as follows:

command [ /option ] [ argument ] [[action-list]] 

where:

command Names the specific debugger action to be performed.
/option Modifies the action of the command.
argument Supplies required or optional information to the command.
[action-list]      Lists one or more debugger commands.

Two examples of debugger commands using special symbols follow:

BREAKPOINT 90 [EVALUATE var1; E var2]

This example sets a breakpoint at line 90. The program variables var1 and var2 will be evaluated when this breakpoint is encountered.

BREAKPOINT LABEL1 + 8; LBREAKPOINT /ALL

This example sets a breakpoint eight statements past the label LABEL1 and then lists all breakpoints.

Previous Topic Next topic Print topic