10 lines
192 B
Text
10 lines
192 B
Text
|
breakpoint set -p "Break here"
|
||
|
r
|
||
|
watchpoint set variable val
|
||
|
watchpoint command add -s lua
|
||
|
print("val=" .. tostring(frame:FindVariable("val"):GetValue()))
|
||
|
quit
|
||
|
c
|
||
|
# CHECK: val=1
|
||
|
# CHECK: val=2
|