Skip to content

GDB BTreeMap/BTreeSet pretty printers don't work since 1.44 #5722

Closed
@Undin

Description

@Undin

Environment

  • IntelliJ Rust plugin version: 0.2.125.3191-201
  • Rust toolchain version: 1.44.1 (c7087fe00 2020-06-17) x86_64-unknown-linux-gnu
  • IDE name and version: CLion 2020.1.2 (CL-201.7846.88)
  • Operating system: Linux 4.15.0-109-generic

Problem description

Since rust 1.44.0 debugger shows nothing for BTreeMap and BTreeSet collections

1.43.0 1.44.1
Screenshot from 2020-07-11 16-28-47 Screenshot from 2020-07-11 16-28-01

Steps to reproduce

use std::collections::{BTreeMap, BTreeSet};

fn main() {
    let mut tree_map = BTreeMap::new();
    let mut tree_set = BTreeSet::new();
    for i in 1..100 {
        tree_map.insert(i.to_string(), i);
        tree_set.insert(i.to_string());
    }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions