Yes. The Break.Set command provides the option /VarCONDition, which lets you specify a condition under which the CPU remains stopped once the breakpoint is hit. In the breakpoint dialog, you’ll also find a Condition field under Advanced.
Example (high-level condition):
Set a breakpoint on function MyFunc with the condition that x == 10 and y == 11:
Break.Set MyFunc /VarCONDition (x==10 && y==11)Result: The CPU stops every time MyFunc is executed, but immediately resumes if the condition (x==10 && y==11) is not satisfied.
You can also define conditions in the PRACTICE language using the /CONDition option instead of /VarCONDition. This corresponds to unchecking the HLL checkbox in front of the CONDition field in the Break.Set window.
Example (PRACTICE condition)
Break.Set MyFunc /CONDition (Var.Value(x)==10. && Var.Value(y)==11.)
Add a comment