-
Notifications
You must be signed in to change notification settings - Fork 13.3k
lldb debugging is not working from version 1.46 #76006
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
Comments
The issue happens because Just to let you know that I got it working doing this:
$ cargo new foobar
$ cd foobar
$ cargo build -v
$ ln -s ~/repos/rust/src/etc/lldb_commands ./
$ ln -s ~/repos/rust/src/etc/lldb_providers.py ./
$ ln -s ~/repos/rust/src/etc/lldb_lookup.py ./
$ ln -s ~/repos/rust/src/etc/lldb_batchmode.py ./
$ rust-lldb rust-lldb target/debug/foobar |
Another important highlight, as @ehuss mentioned, this is a recent change, so 1.45 was working fine and the issue appeared only on 1.46 |
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Aug 29, 2020
…acrum Fix loading pretty-printers in rust-lldb script Pretty-printers loading in `rust-lldb` script was broken in rust-lang#72357 This fixes rust-lang#76006
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this issue
Aug 29, 2020
…acrum Fix loading pretty-printers in rust-lldb script Pretty-printers loading in `rust-lldb` script was broken in rust-lang#72357 This fixes rust-lang#76006
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: To be able to use lldb commands as I can if I use lldb directly
Instead, this happened: error: file specified in --source (-s) option doesn't exist: 'lldb_commands'
Meta
rustc --version --verbose
:The same happens on a macOS machine
I saw that
lldb_commands
is onsrc/etc/
directory together withrust-lldb
shell script, and I also saw that script calls it directly, but I'm not sure how it should behaves in my machine since thelldb_commands
is not there (rustup is not installing it)I've asked it on Rust users forum, and also in the discord chat, but no answers, so I'm considering it a bug, feel free to close it if it is something wrong with my installation and, if possible, guide me on where should I look to fix it.
The text was updated successfully, but these errors were encountered: