Debugging a GRIP Program


Set Breakpoints

Allows you to set breakpoints at either specific line numbers or labels within a specified program. By setting breakpoints, you can suspend program execution at specified locations. You can then examine the status of the program by using other debugger options.

The maximum number of breakpoints you can set in one program is 26. When you choose this option, the system prompts you with the following options:

PROG_NAME allows you to enter the name of a subprogram in which you wish to set a breakpoint. The maximum length of the name including the extension is 30 characters. The default is the current subprogram name.

If the system cannot find the input name, it displays the message

Undefined Subprogram Name

Line/Label allows you to specify the line number or label name where you wish to set the breakpoint.

If you enter a line number:

If you enter a label name, the system sets a breakpoint at that label. You can enter the label name either by itself (END) or with a colon (END:). The length of an input label can be more than 6 characters, but the system only uses the first 6 characters, so they should be unique.

If the system cannot find the label name, it displays the error message:

Undefined Label Name