stop-hook-threads-2.lldbinit 288 Bytes
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')