<div dir="ltr">Hi,<div><br></div><div>when we interrupt a process (SBProcess::Stop()) while a thread is currently being traced due to a breakpoint, the process will be halted and the thread's stop reason will be eStopReasonTrace. Upon resuming the  process, we get an eStateExited event and LLDB disconnects from the inferior.</div><div><br></div><div>This is unlikely to ever pop up when using the LLDB cli client or XCode. We have to interrupt and resuming the process at a high frequency, which increases the likelihood of a thread being traced due to a breakpoint or other reason.</div><div><br></div><div>My question boils down to:</div><div><br></div><div>What could be the reason for receiving an eStateExited event after resuming on a eStopReasonTrace stop event?</div><div><br></div><div>I'll try to setup a simple C app and a Python script calling into the LLDB APis that reflects what we do in our code to illustrate and reproduce the issue.</div><div><br></div><div>Thanks,</div><div>Mario</div></div>