bolt/deps/llvm-18.1.8/lldb/test/Shell/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit
2025-02-14 19:21:04 +01:00

5 lines
288 B
Text

break set -f stop-hook-threads.cpp -p "Break here to set up the stop hook"
break set -f stop-hook-threads.cpp -p "Break here to test that the stop-hook"
run
target stop-hook add -x 2 -o "expr lldb_val += 1" -o "thread list"
target stop-hook add -G true -o "script print('Hit stop hook')