| |||
| 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:
conditionSpecifies a conditional expression. Follow the while statement
with one or more debugger commands that execute repeatedly while evaluates
to true.condition
optional_commandsSpecifies optional commands that can also be used
inside the while statement to change the loop
behavior:
loop_breakExit the loop.
loop_continueSkip the remaining commands and return to the start of the loop.
Enter each debugger command on a new line and terminate the while command
by using the end command.