About 1,750 results
Open links in new tab
  1. Pretty Printing (Debugging with GDB) - sourceware.org

    Pretty Printing (Debugging with GDB) 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 …

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

    Aug 28, 2025 · I want the printers to already be available on my system, for the correct version of libc++ I have installed. I also want the GDB auto-load script to be created/installed in the correct location for …

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

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

    Nov 27, 2025 · 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 …

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

    An ideal auto-load file will consist solely of import s of your printer modules, followed by a call to a register pretty-printers with the current objfile. Taken as a whole, this approach will scale nicely to …

  6. 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, '/opt/

  7. Debugging with pretty printers in GDB - part 2 - Time Travel ...

    WatchPoint Debugging with pretty printers in GDB – part 2 In this tutorial, Software Architect Mark Williamson follows on from Greg’s tutorial on Debugging with pretty-printers in GDB by illustrating …

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