C++ GDB Python Pretty Printing Tutorial? C++ GDB Python Pretty Printing Tutorial? python python

C++ GDB Python Pretty Printing Tutorial?


Check out Tom Tromey's pretty printing tutorials part 1 and part 2. There is also the libstdc++-v6 pretty printer implementation to look at, which is what I used myself as a template when I started out. A somewhat simpler example (as of this writing) is the Boost pretty printer by RĂ¼diger Sonderfeld.


This one looks interesting for starters:Python Pretty-Printers from redhat

From this simple tutorial, you can proceed to more advanced ones. Here is a good example:Pretty-printers for libstc++