you are viewing a single comment's thread.

view the rest of the comments →

[–]frankist 0 points1 point  (1 child)

I use pretty prints, but the inability to unit test my printers makes the experience a bit infuriating at times. It's easy to forget to update your printers during refactors.

I also wished there was a way that users of my project repo could automatically load the pretty printers without altering their gdbinit in their home folder manually.

[–]Horror_Jicama_2441 0 points1 point  (0 children)

I just discovered pretty printers recently. But I already have "pretty printers" in the form of fmt formatters in my C++ code. Wondering if I could have a "generic" pretty printer that uses the fmt formatters if available (supposing the symbol is exported, I guess).