Suspends program execution at an executable statement.

Category: Manipulating Debugging Requests
Alias: B


BREAK location <AFTER count> <WHEN expression> <DO group >

Required Argument


specifies where to set a breakpoint. Location must be one of these:


a statement label. The breakpoint is set at the statement that follows the label.


the number of a program line at which to set a breakpoint.


the current line.

Optional Arguments

AFTER count

honors the breakpoint each time the statement has been executed count times. The counting is continuous. That is, when the AFTER option applies to a statement ...

Get Step-by-Step Programming with Base SAS 9.4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.