1#include <stdio.h>
2int global = 0;
3int main()
4{
5 global = 5; // Set a breakpoint here
6 puts(s: "");
7 __builtin_debugtrap();
8 global = 10;
9 __builtin_trap();
10 global = 15;
11 return global;
12}
13

source code of lldb/test/API/macosx/builtin-debugtrap/main.cpp