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