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
➜ ~ rust-lldb /redacted/target/debug/deps/project-6ae0aa7bbbe04010
Current executable set to '/redacted/target/debug/deps/project-6ae0aa7bbbe04010' (arm64).
(lldb) run
error: the platform is not currently connected
(lldb) platform status
Platform: remote-macosx
Connected: no
SDK Path: error: unable to locate SDK
(lldb) platform select host
Platform: host
Triple: x86_64-apple-macosx
OS Version: 14.2.1 (23C71)
Hostname: 127.0.0.1
WorkingDir: /redacted
Kernel: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
(lldb) platform status
Platform: remote-macosx
Connected: no
SDK Path: error: unable to locate SDK
Comparison: lldb
➜ ~ lldb /redacted/target/debug/deps/project-6ae0aa7bbbe04010
(lldb) target create "/redacted/target/debug/deps/project-6ae0aa7bbbe04010"
Current executable set to '/redacted/target/debug/deps/project-6ae0aa7bbbe04010' (arm64).
(lldb) platform status
Platform: host
Triple: arm64-apple-macosx
OS Version: 14.2.1 (23C71)
Hostname: 127.0.0.1
WorkingDir: /redacted
Kernel: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
Background
on OSX 14.2.1 (23C71) on M1 (arm)
lldb itself works as expected as shown above (run works out of the box), this problem only appears with rust-lldb
This is a test binary
I followed the readme step to set DYLD_FRAMEWORK_PATH
➜ ~ rust-lldb --version
lldb-1500.0.200.58
Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
➜ ~ lldb --version
lldb-1500.0.200.58
Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
The text was updated successfully, but these errors were encountered:
Error
Comparison:
lldb
Background
lldb
itself works as expected as shown above (run
works out of the box), this problem only appears withrust-lldb
DYLD_FRAMEWORK_PATH
Version
The text was updated successfully, but these errors were encountered: