About 271,000 results
Open links in new tab
  1. Creating a GDB pretty printer from scratch | Heshan Padmasiri

    Jul 27, 2024 · Since a pretty printer determines what you see as the value of a variable when you are debugging if you want to change what you see then you can create your own pretty printer. Despite …

  2. 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 recommend embedding …

  3. Debugging with pretty-printers in GDB - Undo

    Make debugging easier with pretty-printers in GDB. You create a basic printer in minutes. Use time to your advantage.

  4. Info Node: (gdb.info)Writing a Pretty-Printer

    The latter is the conventional way this is handled. If a pretty-printer can handle multiple data types, then its "subprinters" are the printers for the individual data types. The 'gdb.printing' module provides a …

  5. How to use the libc++ GDB pretty-printers | Braden++

    Aug 28, 2025 · How to use the libc++ GDB pretty-printers 2025-08-28 Last year I wrote an article about my attempt so far at a system for testing Natvis files automatically. Here, I wanted to write the …

  6. Creating a GDB pretty printer from scratch - Medium

    May 29, 2022 · Creating a GDB pretty printer from scratch GDB is a very popular debugging tool that is supported in many programming languages. Even if you are not using GDB directly chances are that …

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

    The problem is gdb doesn't load the pretty printer for C++ stdcxx automatically. So when I use Seer to debug code with std::string and std::vector, they appear as the full ugly templated versions -- even if I …

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

    A pretty-printer is just an object that holds a value and implements a specific interface, defined here. An example output is provided (see Pretty Printing). Because GDB did not document extensibility for …