-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gdb pretty printers for slices types (&[T]
and &mut [T]
).
#85219
Comments
Can you describe in more detail? |
rust-gdb provides pretty-printing function for some Rust types, such as
Currently, slices can only be displayed as a pointer and a length value in the debugger. I hope rust-gdb can support displaying slices. I also noticed that rust-lldb already supports pretty-printing const slices ( |
…ark-Simulacrum Support pretty printing slices using GDB Support pretty printing `&[T]`, `&mut [T]` and `&mut str` types using GDB. Support pretty printing `&mut [T]` and `&mut str` types using LLDB. Fixes rust-lang#85219.
@rustbot label A-slice C-enhancement T-dev-tools |
Currently, support for pretty-printing slice types is missing for rust-gdb.
The text was updated successfully, but these errors were encountered: