BREAK-POINT

BREAK-POINT Syntax Diagram

Variants:

1.BREAK-POINT.
2.BREAK-POINT f.

Effect

The BREAK-POINT statement interrupts the processing and diverts the system to debugging mode. You can then display the contents of all the fields at runtime and also control the subsequent program flow.
If the system is unable to branch to debugging for some reason (due to a background job or update), it generates a system log message.

After the BREAK-POINT, the system automatically performs a database restart, if no COMMIT WORK was executed. Since debugging sometimes switches off COMMIT WORK, you should not place a BREAK-POINT statement in a SELECT loop.

Effect

Behaves like variation 1, except that the field contents of f remain in the event of any system log messages.