Blog post about printing associative arrays from GDB
Mihails
none at none.none
Thu Oct 24 11:20:07 UTC 2019
GDB has some dedicated functionality to improve pretty-printing
and expression evaluation of things that too complex to figure
out automatically:
- https://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing.html
-
https://sourceware.org/gdb/onlinedocs/gdb/Writing-an-Xmethod.html
GCC, for example, provides such scripts for improved debugging of
C++ standard library as part of its distribution. Writing
something similar for DMD/GDC/LDC shouldn't be too hard.
More information about the Digitalmars-d-announce
mailing list