Debugging a COBOL
Program > Debugger Features |
|
While program execution is stopped, you can use the functions explained below
to execute the program step by step and check program execution processing. The
Step operation is interrupted when a breakpoint is detected.
To use these
functions, you can select them from the toolbar, context menu, or [Run] menu in
the Debug view, or you can use accelerator keys.
Executes the statement at the current position. If the statement is a method, this command moves the execution position to the method.
Executes the statement only for one line. Unlike the [Step Into] command, this command does not move the execution position to the invoked method.
Executes the statement only for one line. Unlike the [Step Into] command, this command does not move the execution position to the invoked method.
Resume the program until the next breakpoint or the end of the program.
The debugger stops execution at a particular statement/line of code in a program.
Runs the program until the execution position reaches the cursor position. COBOL allows you to use this function only from the context menu.
COBOL allows you to use [Run from Line] to bypass an erroneous statement.
Place the cursor on the line from which you want to rerun the program, and
select [Run from Line] from the context menu.
This command terminates executing a program.
This feature allows you to view the recently debugged programs, which can be launched. You can view debug history using [Run] > [Debug History] from menu bar. In debug history, only the launched programs are displayed by specifying the launch style.
|