<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">That't interesting. Where you able to simulate the error seen on the bots by inserting a sleep() unto the debugged program?<div class=""><br class=""></div><div class="">-- adrian<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 10, 2018, at 5:06 PM, Александр Поляков <<a href="mailto:polyakov.alx@gmail.com" class="">polyakov.alx@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family: arial, helvetica, sans-serif; font-size: small;">It seems that lldb-mi in such a situation just hangs:<br class=""><br class=""><div class="gmail_default">build/bin/lldb-mi --synchronous bash</div><div class="gmail_default">(gdb)</div><div class="gmail_default">-file-exec-and-symbols "bash"</div><div class="gmail_default">^done</div><div class="gmail_default">(gdb)</div><div class="gmail_default">=library-loaded,id="/bin/bash",target-name="/bin/bash",host-name="/bin/bash",symbols-loaded="0",loaded_addr="-",size="0"</div><div class="gmail_default">-exec-run</div><div class="gmail_default">^C^C</div><div class="gmail_default">exit<br class=""><br class="">It doesn't react to Ctrl+C and exit command.</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">сб, 11 авг. 2018 г. в 2:54, Adrian Prantl <<a href="mailto:aprantl@apple.com" class="">aprantl@apple.com</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 10, 2018, at 4:50 PM, Александр Поляков <<a href="mailto:polyakov.alx@gmail.com" target="_blank" class="">polyakov.alx@gmail.com</a>> wrote:</div><br class="m_-2097672177529295889Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">One important question: what do you mean talking about "block"? Does it mean that SBTarget::Launch blocks the process and the user can't continue working with this process until it stops?</div></div></div></blockquote><div class=""><br class=""></div><div class="">Pretty much. The same way as the interactive (lldb) command line interface behaves: You enter "run" and you won't get a prompt again until the process stops. I'm imagining (but haven't verified) that synchronous mode behaves like that.</div><div class=""><br class=""></div><div class="">-- adrian</div></div><br class=""></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 12.8px;" class="">Alexander</span><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>