-
Notifications
You must be signed in to change notification settings - Fork 246
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
No "pretty printing" of rust containers in v1.11.0 #1166
Comments
Codelldb no longer bundles formatters for Rust data types and instead loads the ones shipped with rustc. I suspect that you haven't installed the |
Rust support was reduced, missed it, my fault :( It implies that users of the |
Not quite so bleak: one can install LLDB formatters via |
I have |
I think there are some issues, at least for me.
|
It seems that you are using Windows. I have similar issues too. I solve it by switching to gnu toolchain and setting codelldb to pre-load a pretty-printer script.
It works for debugging sessions started by keyboard F5 or by clicking on Debug text above unit test functions (thanks ra). |
@facefaceless Thanks for the suggestion! |
OS: Windows 11 23H2
VSCode version: 1.95.0
CodeLLDB version: 1.11.0
Compiler: rust 1.81.0-x86_64-pc-windows-msvc toolchain
Debuggee: PDB
There are not "pretty printing" of rust containers (in my example Vec and HashMap) in the "Debug > Variables" window, so I cannot see elements of containers. This feature works in the previous 1.10.0 version of CodeLLDB, but not in the actual 1.11.0.
Actual behavior (in v.1.11.0):
Expected behavior (is taken from v1.10.0):
I ran the examples above using "Debug" button from "Run|Debug" CodeLens (which is in the editor above the first line "fn main() {"). But the problem remains when I use my custom "launch.json" config file.
Log output suspicious lines
Full log output
The text was updated successfully, but these errors were encountered: