When doing live debugging, it’s not uncommon to have to repeat a set of commands until a condition becomes true or false.
There are several ways to do this, and one of them is through the z command.
You can create automated commands using this instruction: just think about the possibilities!
Here is an example:
.echo REGISTERS; tr; .echo CALL STACK; kL 1000; z(@eip != 66FCA607 )
The line above displays the registers and the call stack while running the application. At some point, when the next instruction address is 66FCA607, it stops the execution.
Here you can see scripts that may be using the z command.