c++ debugging remarkably good right now

Nathan Myers ncm-nospam@cantrip.org
Mon Feb 4 18:25:00 GMT 2002


On Mon, Feb 04, 2002 at 06:15:05PM -0800, Benjamin Kosnik wrote:
> Nathan wrote:
> > Now, how about defaulting to *not* printing out static members?
> 
> Put this in your .gdbinit:
> 
>   set print pretty on 
>   set print object on
>   set print static-members off
>   set print vtbl on 
>   set print demangle on 
>   set demangle-style gnu-v3
> 
> More info in the gdb docs...

This looks like a good one for the FAQ.

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list