On Friday, 23 April 2021 at 23:54:21 UTC, mw wrote:
On Tuesday, 6 April 2021 at 21:04:47 UTC, WebFreak001 wrote:
I have created editor independent pretty printers / visualization files for Visual Studio's debugger\*, GDB and LLDB.

The script and setup guide are available here: https://github.com/Pure-D/dlang-debug


where to input this command? from gdb command line? or in .gdbinit?

```
-enable-pretty-printing
-interpreter-exec console "source /path/to/gdb_dlang.py"
```

(sorry, I googled a bit, but didn't find the answer).

those are GDB-MI commands. If you can only run GDB console commands you can use

```
source /path/to/gdb_dlang.py
enable pretty-printer
```

Reply via email to