lldb API uses wrong executable filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
llvm-toolchain-10 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've noticed that some of my debugging scripts that use lldb to launch and debug processes don't work and hang indefinitely on Ubuntu Focal with latest llvm toolchain installed.
The culprit is the fact that lldb API tries to launch a binary named "lldb-server-
This becomes apparent when logging is enabled for the debugger:
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
1599167975.
This issue is simply resolved by making yet another symlink to lldb-server to point to lldb-server-10.0.0 but without logging enabled, it isn't obvious where the problem is.
This behavior can be observed by executing the attached python script (slightly modified lldb example from https:/
Expected behavior is that breakpoint is set and hit, but due to missing lldb-server-10.0.0 binary, the process is never launched.