<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I have this big comment in my code that will help you:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="courier new, monospace">// On OSX, debugserver executable must exists otherwise lldb will not work properly</font></div><div class="gmail_default"><font face="courier new, monospace">// we ensure that it exists by checking the environment variable LLDB_DEBUGSERVER_PAT</font><font face="verdana, sans-serif">H</font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">In other words: set the environment variable <font face="courier new, monospace">LLDB_DEBUGSERVER_PAT</font><font face="verdana, sans-serif">H to point to debugserver executable (you should have it installed with your XCode)</font></div><div class="gmail_default" style="font-family:verdana,sans-serif"><font face="verdana, sans-serif"><br></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 31, 2014 at 3:20 PM, Nikolay Koldunov <span dir="ltr"><<a href="mailto:nikolay.koldunov@oracle.com" target="_blank">nikolay.koldunov@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All!<br>
<br>
I've just built lldb and lldb-mi from the trunk sources on MacOS and faced these issues:<br>
1). lldb was unable to run target (error: process launch failed: unable to locate debugserver)<br>
2). lldb-mi was unable to run target too (Command 'exec-run'. Invalid process during debug session)<br>
<br>
I followed your instructions about code signing.<br>
<br>
What should I do or check to proceed?<br>
<br>
Regards,<br>
Nikolay<br>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="verdana, sans-serif">Eran Ifrah,<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br></font><div><font face="verdana, sans-serif">CodeLite IDE Blog: <a href="http://codeliteide.blogspot.com/" target="_blank">http://codeliteide.blogspot.com/</a></font></div></div></div>
</div>