-var-set-visualizer to dynamically switch pretty print on and off?

Tom Tromey tromey@redhat.com
Tue Jun 22 15:42:00 GMT 2010


>>>>> "Jens" == Elmenthaler, Jens <jens.elmenthaler@verigy.com> writes:

Tom> You can use -var-set-visualizer to disable pretty-printing of a given
Tom> varobj.

Jens> Does that mean I can use -var-set-visualizer to dynamically switch
Jens> between pretty printers on and off during a debug session, and
Jens> this even individually for each varobj? That would be a nice
Jens> feature!

Yes.  Dynamic varobjs have other nice features, too -- you can lazily
fetch the children.  It is all in the manual... let us know if it is
unclear in some way.

Tom



More information about the Gdb mailing list