Next: Value History, Previous: Print Settings, Up: Data   [Contents][Index]


10.9 Pretty Printing

GDB provides a mechanism to allow pretty-printing of values using Python code. It greatly simplifies the display of complex objects. This mechanism works for both MI and the CLI.

Pretty-Printer Introduction:    Introduction to pretty-printers
Pretty-Printer Example:    An example pretty-printer
Pretty-Printer Commands:    Pretty-printer commands