As Pavel pointed out, on Apple Silicon "b main" stops at a point after the variable has already been initialized. This patch updates the test case to avoids that. I've also split the test into separate files so its easier to reproduce the individual scenarios without having to build any shared state.
9 lines
147 B
Plaintext
9 lines
147 B
Plaintext
breakpoint set -p "Break here"
|
|
r
|
|
watchpoint set expr 0x00
|
|
watchpoint command add -s lua
|
|
print("never triggers")
|
|
quit
|
|
c
|
|
# CHECK-NOT: never triggers
|