Helps to demangle traceback debugging an application that is written in D.
- Python 3.5 or above (How to check)
- Installed ddemangle avaialable at PATH variable
mkdir ~/.gdb/ && cd ~/.gdb
git clone https://github.com/ANtlord/gdb-ddemangle
cd gdb-ddemangle && make
in order to create binary that demangles D symbols- Create a file
.gdbinit
if it doesn't exist yet - Add
source .gdb/gdb-ddemangle/ddemangle.py
. If you use gdb-colour-filter add the line abovesource .gdb/gdb-colour-filter/colour_filter.py
- Run
gdb
- Run
python print(sys.version)
in GDB