lldb is not starting an application

◇◆丶佛笑我妖孽 提交于 2019-12-04 07:34:53

This is a known bug with LLDB 5.0, apparently related to the Debian packaging. The workaround is similar to the question linked in the comments, but not the same. (And yes, having this exact problem, I've confirmed the solution.)

An strace reveals the problem...

1887 26838 access("/usr/lib/llvm-5.0/bin/lldb-server-5.0.0", F_OK) = -1 ENOENT (No such file or directory)

That indicates exactly where that symlink is needed. Fixing it is as simple as a single terminal command...

$ sudo ln -s /usr/bin/lldb-server-5.0 /usr/lib/llvm-5.0/bin/lldb-server-5.0.0
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!