The BREAK command suspends
execution of the DATA step at a specified statement. Executing the
BREAK command is called
setting a breakpoint.
When the debugger detects
a breakpoint, it does the following:
-
checks the AFTER
count value, if present, and suspends execution
if
count breakpoint activations
have been reached
-
evaluates the WHEN expression,
if present, and suspends execution if the condition that is evaluated
is true
-
suspends execution if neither an
AFTER nor a WHEN clause is present
-
displays the line number at which
execution is suspended
-
executes any commands that are
present in a DO group
-
returns control to the user with
a > prompt
If a breakpoint is set
at a source line that contains more than one statement, the breakpoint
applies to each statement on the source line. If a breakpoint is set
at a line that contains a macro invocation, the debugger breaks at
each statement generated by the macro.