| |||
Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > while |
This command enables you to write scripts with conditional loops that execute debugger commands.
whilecondition
...optional_commands
... end
Where:
condition
Specifies a conditional expression. Follow the while
statement
with one or more debugger commands that execute repeatedly while
evaluates
to true.condition
optional_commands
Specifies optional commands that can also be used
inside the while
statement to change the loop
behavior:
loop_break
Exit the loop.
loop_continue
Skip the remaining commands and return to the start of the loop.
Enter each debbuger command on a new line and terminate the while
command
by using the end
command.