Terminate the current WHILE loop within a batch file.
This command is used within batchfiles. It is only effective within a WHILE loop: it terminates the current WHILE loop.
The BREAK command has no effect if called outside a loop.
! Example batch file break.xdb set val @input = 0 while 1 then set val @input = @input + 1 eval @input if @input == 5 then breakpoint end end
If this example batch file is executed, the debugger variable input is set to 0. input is incremented by 1 and the value is displayed in the Console window (eval @input). If input reaches the value 5, the loop is interrupted by the break command.