Skip to content

Implement new gdb/lldb pretty-printers#60826

Closed
artemmukhin wants to merge 2 commits intorust-lang:masterfrom
artemmukhin:new-dbg-pretty-printers
Closed

Implement new gdb/lldb pretty-printers#60826
artemmukhin wants to merge 2 commits intorust-lang:masterfrom
artemmukhin:new-dbg-pretty-printers

Conversation

@artemmukhin
Copy link
Contributor

@artemmukhin artemmukhin commented May 14, 2019

This PR replaces current gdb and lldb pretty-printers with new ones which were originally written for IntelliJ Rust.

The current state of lldb pretty-printers is poor, because they don't use synthetic children. When I started to reimplement lldb pretty-printers with synthetic children support, I've found current version strange and hard to support. I think debugger_pretty_printers_common.py is overkill, so I got rid of it.

The new pretty-printers have to support all types supported by current pretty-printers, and also support Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.

Fixes #56252

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lldb formatters should provide synthetic children