This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ pretty-printers vs. inspecting objects
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Avi Kivity <avi at cloudius-systems dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 26 Jul 2015 20:45:07 +0100
- Subject: Re: libstdc++ pretty-printers vs. inspecting objects
- Authentication-results: sourceware.org; auth=none
- References: <55B4F76C dot 20904 at cloudius-systems dot com>
On 26 July 2015 at 16:06, Avi Kivity wrote:
> libstdc++ pretty-printers are a life-saver when inspecting containers.
> However, they also hide information: the type of the element being inspected
> (can often be inferred by the user) and the address of the element (which
> cannot).
>
> Is there a way to add this information to the pretty-printers output?
In principle we can add anything, the difficulty is figuring out how
to present it clearly without cluttering or obscuring the output.
Suggestions for improving the printers are very welcome.