It would be nice if BTreeSet and BTreeMap had visualizers. These seem to be in
.natvis files for other
std collections, but the BTree structures seem to have been overlooked.
As it is now, debugging these structures is extremely unwieldy. See screenshot.
@rotu Opening a GitHub issue at
rust-lang/rust will increase the odds of this being seen and implemented.
You could also try to open a PR to implement this based on the existing visualizers (they seem to be in
src/etc/natvis in the repo).
@camelid I would if it were a bug report - I don't know if it's considered one. I was redirected here from Sign in to GitHub · GitHub
Anyway, I tried my hand at implementing it, but unfortunately I don't have the skills yet
It's absolutely fine to file an issue for this, even though it's not a bug. Just use the "Blank Issue" template. Major changes to the language should not be opened as issues, but small enhancement requests like this are fine to file as issues.
Also, no worries about not being able to implement it
Done! Thank you for your advice
04:43AM - 03 Nov 21 UTC
It would be nice if BTreeSet and BTreeMap had visualizers. These seem to be in `
Of course! Thanks for opening the issue
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.