0
I have a process A that spawns a child process B, and there is a bug in B.
If I launch A in lldb, the bug in B eventually occurs, causing A to stop and I can see where A stops etc but tells me nothing about the bug in B.
If I could get B running under lldb while A continues, I'd be able to find the bug.
I've tried several different ways to arrange this but have not succeeded.
e.g. after A has spawned B, I've tried starting lldb and attaching B, but the system stalled.
How can I have B running under lldb and catch the bug?