Skip to content

lldb debugging is not working from version 1.46 #76006

Closed

Description

I tried this code:

rust-lldb target/debug/rust-str-vs-string

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:

rustc 1.46.0 (04488afe3 2020-08-24)
binary: rustc
commit-hash: 04488afe34512aa4c33566eb16d8c912a3ae04f9
commit-date: 2020-08-24
host: x86_64-unknown-linux-gnu
release: 1.46.0
LLVM version: 10.0

The same happens on a macOS machine


I saw that lldb_commands is on src/etc/ directory together with rust-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 the lldb_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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions