Top
PowerCOBOL V11.0 User's Guide
FUJITSU Software

7.2.4 Setting Conditional Breakpoints

You may set conditional breakpoints in a manner similar to setting unconditional breakpoints.

You use the Option tab in the Set Breakpoint dialog box to specify the condition you want to break on. For example, if in the above noted application you want to break on the statement that causes the data item "Current-Count" to be greater than 5, you would enter the following:

Figure 7.7 Setting a conditional breakpoint

You may set any number of conditional and/or unconditional breakpoints in the PowerCOBOL Debugger.

Cycle breakpoints specify that execution is to pause after a specified section of the application cycles a certain number of times. This means, for example, that if you want to allow the procedure to execute 5 times and break on the 6th iteration, you set the cycles option for 6.