blob: 94af2d1340b00ef04b5c95968b0c76ba882f8643 [file] [log] [blame] [edit]
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