UpDebugging a COBOL Program > UpDebugger Features Previous Next

Executing a Program Step by Step

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.

+Step Into (accelerator key: F5)

Executes the statement at the current position. If the statement is a method, this command moves the execution position to the method.

+Step Over (accelerator key: F6)

Executes the statement only for one line. Unlike the [Step Into] command, this command does not move the execution position to the invoked method.

+Step Return (accelerator key: F7)

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 (accelerator key: F8)

Resume the program until the next breakpoint or the end of the program.

+Suspend

The debugger stops execution at a particular statement/line of code in a program.

+Run to Line (accelerator key for Java: Ctrl+R)

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.

+Terminate

This command terminates executing a program.

+Debug Histor y

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.


Previous Next

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2003-2005