Debugging a COBOL
Program > Debugger Features |
|
A breakpoint is a marker at which the debugger stops in the program. The
debugger stops execution at each breakpoint encountered during program
execution. The corresponding thread stops temporarily to enable referencing of
the thread stack and the contents of variables at that moment.
In addition,
Step Over or Step Into can be used to check program execution step by step,
starting from a breakpoint.
You can add a breakpoint to a file by using the following procedure:
Alternatively, you can double-click the marker bar to set a breakpoint.
Not only can a breakpoint be deleted using the marker bar in the editor area but it can also be deleted from the Breakpoint view according to the following procedure:

You can open Breakpoint Properties either from the marker bar or a breakpoint, and Breakpoint Properties allows you to enable or disable the breakpoint or specify a hit count.
Breakpoints that are set are stored through multiple sessions. All breakpoints in a file are saved when the file is closed. The next time the file is opened, the previously set breakpoints are displayed.
|