Reputation: 2539
this is my first experience in commandline mode of lldb. unsuccessful.
lldb applcation
>run
error: process launch failed: unable to locate lldb-server-5.0.0
so now the questions:
any idea how this should work?
by the way extra question - seems left/right/up/down arrows keys don't work in lldb console? instead of cursor moving it adds a codes
(lldb) ^[[D^[[A^[[C^[[B
Upvotes: 5
Views: 1591
Reputation: 6898
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
Upvotes: 5