- Notifications
You must be signed in to change notification settings - Fork 384
Closed
Labels
Description
Environment
- IntelliJ Rust plugin version: 0.3.131.3366-202
- Rust toolchain version: 1.47.0-beta (d6646f647 2020-10-03) x86_64-unknown-linux-gnu
- IDE name and version: CLion 2020.2.3 (CL-202.7319.72)
- Operating system: Linux 4.15.0-117-generic
Problem description
gdb:
The corresponding pretty-printers cannot be initialized.
Error from gdb console
File "/home/parallels/.local/share/JetBrains/CLion2020.2/intellij-rust/prettyPrinters/gdb_providers.py", line 358, in __init__ self.data_ptr = table["data"]["pointer"] gdb.error: There is no member named data. Traceback (most recent call last): File "/home/parallels/.local/share/JetBrains/CLion2020.2/intellij-rust/prettyPrinters/gdb_lookup.py", line 70, in lookup return StdHashMapProvider(hash_map, show_values=False) File "/home/parallels/.local/share/JetBrains/CLion2020.2/intellij-rust/prettyPrinters/gdb_providers.py", line 358, in __init__ self.data_ptr = table["data"]["pointer"] gdb.error: There is no member named data. 
lldb:
Child items are now shown:

Steps to reproduce
use std::collections::{HashMap, HashSet}; fn main() { let mut hash_map = HashMap::new(); let mut hash_set = HashSet::new(); for i in 1..100 { hash_map.insert(i.to_string(), i); hash_set.insert(i.to_string()); } }