Using Windbg to debug D applications and unittests

evilrat evilrat666 at gmail.com
Sat Feb 25 16:22:49 UTC 2023


On Saturday, 25 February 2023 at 15:55:33 UTC, solidstate1991 
wrote:
> I had a lot of trouble trying to get Visual Studio to catch 
> handled exceptions

VisualD for Visual Studio provides some extra help with 
displaying your data in debugger and on Windows is the best you 
can get for D.

You can use Visual Studio Code + code-d to debug, but it is not 
as good as full Visual Studio counterpart.

Anyway you can use LDC with -gc flag to improve this situation a 
bit as it will mimic C++ debug info that is more compatible with 
said debuggers than D one.


More information about the Digitalmars-d-learn mailing list