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 -G true expr lldb_val += 1 thread list DONE