[lldb-dev] lldb issues on MacOS
Greg Clayton
gclayton at apple.com
Tue Nov 11 10:07:04 PST 2014
Do this first in your ssh session:
sudo /usr/sbin/DevToolsSecurity --enable
Then try running lldb.
> On Nov 11, 2014, at 2:20 AM, Nikolay Koldunov <nikolay.koldunov at oracle.com> wrote:
>
> Thank You!
>
> This helped in the local case. But I'm still unable to run lldb in either console or mi mode via ssh. Is this possible?
>
> On 11/ 6/14 09:35 AM, Eran Ifrah wrote:
>> I have this big comment in my code that will help you:
>>
>> // On OSX, debugserver executable must exists otherwise lldb will not work properly
>> // we ensure that it exists by checking the environment variable LLDB_DEBUGSERVER_PATH
>>
>> In other words: set the environment variable LLDB_DEBUGSERVER_PATH to point to debugserver executable (you should have it installed with your XCode)
>>
>>
>> On Fri, Oct 31, 2014 at 3:20 PM, Nikolay Koldunov <nikolay.koldunov at oracle.com> wrote:
>> Hi All!
>>
>> I've just built lldb and lldb-mi from the trunk sources on MacOS and faced these issues:
>> 1). lldb was unable to run target (error: process launch failed: unable to locate debugserver)
>> 2). lldb-mi was unable to run target too (Command 'exec-run'. Invalid process during debug session)
>>
>> I followed your instructions about code signing.
>>
>> What should I do or check to proceed?
>>
>> Regards,
>> Nikolay
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>
>>
>>
>> --
>> Eran Ifrah,
>> Author of codelite, a cross platform open source C/C++ IDE: http://www.codelite.org
>> CodeLite IDE Blog: http://codeliteide.blogspot.com/
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list