| |||
| Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > if | |||
This command enables you to write scripts that conditionally execute debugger commands.
if condition
...
else
...
end
Where:
conditionSpecifies a conditional expression. Follow the if statement
with one or more debugger commands that execute when the expression
evaluates to true.
The else statement is optional and the
debugger commands that follow it only execute when evaluates
to false.condition
Enter each debugger command on a new line and terminate the if command
by using the end command.