c++ debugging remarkably good right now

Benjamin Kosnik bkoz@redhat.com
Mon Feb 4 18:15:00 GMT 2002


> Now, how about defaulting to *not* printing out static members?

Put this in your .gdbinit:

set print static-members off

I like to see them, but you can do whatever.

The .gdbinit used:

set print pretty on 
set print object on
set print static-members on
set print vtbl on 
set print demangle on 
set demangle-style gnu-v3

More info in the gdb docs...

-benjamin



More information about the Libstdc++ mailing list