About 97,100 results
Open links in new tab
  1. Writing a Pretty-Printer (Debugging with GDB) - sourceware.org

    Writing a Pretty-Printer (Debugging with GDB)We recommend that you put your core pretty-printers into a Python package. If your pretty-printers are for use with a library, we further …

  2. Visualizing boost::unordered_map in GDB, with pretty-printer ...

    Aug 16, 2024 · GDB has an example for how std::string looks with and without a pretty-printer at this link. If you want to use the Boost.Unordered pretty-printers, it’s very simple.

  3. Creating a GDB pretty printer from scratch | Heshan Padmasiri

    Jul 27, 2024 · In that case, writing a pretty printer to show the variables (assuming your language can be compiled into a binary that can be debugged with GDB, given that most languages are …

  4. C++ GDB Python Pretty Printing Tutorial: Step-by-Step Guide ...

    Nov 19, 2025 · C++ GDB Python Pretty Printing Tutorial: Step-by-Step Guide to Creating a Custom Shared Pointer Printer (Overcoming Sparse GDB Documentation) Debugging C++ applications …

  5. Debugging with pretty printers in GDB – part 3 - Undo

    In this tutorial, Software Architect Mark Williamson follows on from our previous tutorial on advanced pretty-printers for GDB, showing how to configure and control the behaviour of your …

  6. Writing a Pretty-Printer (Debugging with ROCGDB)

    Here is an example showing how a std::string printer might be written. See Pretty Printing API, for details on the API this class must provide. Note that this example uses the gdb.ValuePrinter …

  7. How to pretty-print STL containers in GDB? - Stack Overflow

    Jul 23, 2012 · I've followed the instructions on the GDB wiki to install the python pretty-printers for viewing STL containers. My ~/.gdbinit now looks like this: python import sys sys.path.insert(0, …

  8. Pretty Printing (Debugging with GDB) - sourceware.org

    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. • …