Re:Comparing Pythagorean triples in C++, D, and Rust
by the_why_of_y on Tuesday January 01, 2019 @07:42AM
(#18799964)
With current gdb (i.e. released this decade), you can define pretty-printers in Python that are loaded automatically and print whatever you think is most important for a given type; the "print /r" command is available to print the raw details when necessary.
libstdc++ ships with pretty-printers for its types.
But I agree that printf debugging still has its uses.
libstdc++ ships with pretty-printers for its types.
But I agree that printf debugging still has its uses.