About 1,680 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. 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 …

  3. Gdb's Pretty Print feature · epasveer/seer Wiki · GitHub

    Nov 27, 2025 · Certainly my example is a simple case and you could argue Pretty Printers are not needed. However, having worked on some large code bases, there are some complex struct …

  4. Writing a Pretty-Printer (Debugging with GDB) - Get docs

    The example lookup function extracts the value’s type, and attempts to match it to a type that it can pretty-print. If it is a type the printer can pretty-print, it will return a printer object. If not, it …

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

    24.3.2.8 Writing a Pretty-Printer A pretty-printer consists of two parts: a lookup function to detect if the type is supported, and the printer itself. Here is an example showing how a std::string …

  6. 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.

  7. Creating custom pretty printers in GDB - Medium

    Mar 21, 2023 · Pretty printers in GSD allows you to print your custom types in a user-readable way. This articale shows you how to create such printers via GDB's Python API.

  8. C++ GDB Python Pretty Printing Tutorial? - Stack Overflow

    Oct 8, 2012 · 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 …