lldb on Linux appears to have a bug causing it to sometimes leave a process stopped at a breakpoint even after the debugger has detached. Defend against this by sending a SIGCONT signal to the process after the debugger attaches. If the process was already resumed then it will just ignore this spurious signal, but if lldb had left it stopped this will rescue it.
lldb on Linux appears to have a bug causing it to sometimes leave a process stopped at a breakpoint even after the debugger has detached. Defend against this by sending a
SIGCONT
signal to the process after the debugger attaches. If the process was already resumed then it will just ignore this spurious signal, but if lldb had left it stopped this will rescue it.Relates-to: https://github.com/llvm/llvm-project/issues/60408. Relates-to: #309