On Tuesday, 5 August 2025 at 00:54:14 UTC, Tony~! wrote:
I have been coding some simple examples in D to get the hang of
the language although it's really similar to C. I on one of the
sites recommended that
[remedyBG](https://remedybg.itch.io/remedybg) could be used as
a paid debugger and I've used it before for a C++ program.
Nobody on this forum seems to have mentioned it yet as a D
debugger.
[ImgBB image](https://i.ibb.co/rGrR84zd/Remedy-BG-D-Code-01.png)
Suprisingly it works quite well, it works on both with dmd and
ldc2 compilers. The dissasembly shows up and things in the
watch window mostly work. Structs and classes work with basic
types but I could not get tuples to show up in the watch window.
RemedyBG just worked right out of the box, I was trying to get
gdb to work with either of the compilers and I just couldn't
get it to find the symbols.
If you are on Windows 10 or 11 I would recommend remedyBG for
debugging D, in my estimation it is well worth the price
especially if you also want to test C/C++ files in the future.
There is a switch to emit C++-like debug info; dub also has the
"debugInfoC" build option to handle it across compilers. May help
a bit with templated types.