-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
LLDB v --ptr-depth 1 can't dereference pointer to a struct #147450
Copy link
Copy link
Open
Labels
A-debuggersArea: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)Area: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)A-debuggers-lldbArea: lldbArea: lldbC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-debuggersArea: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)Area: debuggers themselves (gdc, lldb, cdb, WinDbg, etc.)A-debuggers-lldbArea: lldbArea: lldbC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
When using LLDB with nightly Rust's pretty printers, I expect
v --ptr-depth 1to dereference the pointer to the struct and display its contents:Instead, it only prints the pointer address:
This regressed in c39ebea
Meta
rustc --version --verbose:lldb --version: