You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: It's unclear how this package is supposed to work on macOS. I haven't been able to use the conda-forge LLDB at all.
Just doing lldb <executable>, where lldb is installed from this package, does not work (at least on my macOS 10.11.6 system). For a simple "hello-world"-type program, I get::
$ conda create -n lldb lldb
$ conda activate lldb
$ lldb hello
(lldb) target create "hello"
Current executable set to '/path/to/hello' (x86_64).
(lldb) r
error: process launch failed: failed to get reply to handshake packet
The conda-forge lldb recipe uses LLDB_USE_SYSTEM_DEBUGSERVER=ON on macOS:
The error "process launch failed: failed to get reply to handshake packet" seems to be related to inability for the lldb executable to connect with the system debugserver.
Note: I have several copies of debugserver on my system, none of them are in the PATH. The system LLDB works fine this way...
Issue: It's unclear how this package is supposed to work on macOS. I haven't been able to use the conda-forge LLDB at all.
Just doing
lldb <executable>
, wherelldb
is installed from this package, does not work (at least on my macOS 10.11.6 system). For a simple "hello-world"-type program, I get::The conda-forge lldb recipe uses
LLDB_USE_SYSTEM_DEBUGSERVER=ON
on macOS:lldb-feedstock/recipe/build.sh
Lines 8 to 12 in 131e70d
which I guess was done to avoid having to codesign the executable.
The error "
process launch failed: failed to get reply to handshake packet
" seems to be related to inability for the lldb executable to connect with the system debugserver.Note: I have several copies of
debugserver
on my system, none of them are in thePATH
. The system LLDB works fine this way...First reported here: conda-forge/gdb-feedstock#23 (comment)
I have been able (a few times, but not consistently) to debug an executable using these steps:
sleep()
in my program./sleep
debugserver
:debugserver
:Maybe it would be easier to actually codesign the executable, as was done in conda-forge/gdb-feedstock#23 ?
The text was updated successfully, but these errors were encountered: