12 lines · plain
1breakpoint set -p "Break here"2r3watchpoint set variable val4watchpoint modify 1 -c "(val == 1)"5watchpoint command add -s lua6print("conditional watchpoint")7wp:SetEnabled(false)8quit9c10# CHECK-COUNT-1: conditional watchpoint11# CHECK-NOT: conditional watchpoint12