$ lldb ./lwp_create (lldb) target create "./lwp_create" Current executable set to './lwp_create' (x86_64). (lldb) r Process 27331 launched: './lwp_create' (x86_64) Hello world! Process 27331 stopped * thread #1, stop reason = SIGTRAP has been caught with Process LWP Trap type frame #0: thread #2, stop reason = SIGTRAP has been caught with Process LWP Trap type frame #0: (lldb) thread list Process 27331 stopped * thread #1: tid = 0x0001, stop reason = SIGTRAP has been caught with Process LWP Trap type thread #2: tid = 0x0002, stop reason = SIGTRAP has been caught with Process LWP Trap type (lldb) c Process 27331 resuming Process 27331 stopped * thread #1, stop reason = SIGTRAP has been caught with Process LWP Trap type frame #0: (lldb) thread list Process 27331 stopped * thread #1: tid = 0x0001, stop reason = SIGTRAP has been caught with Process LWP Trap type (lldb) c Process 27331 resuming It works Process 27331 exited with status = 0 (0x00000000) (lldb)