1 2 3 4 5 6 7 8 9 10 11
breakpoint set -p "Break here" r watchpoint set variable val watchpoint modify 1 -c "(val == 1)" watchpoint command add -s lua print("conditional watchpoint") wp:SetEnabled(false) quit c # CHECK-COUNT-1: conditional watchpoint # CHECK-NOT: conditional watchpoint