So I downloaded the new WinDbg Preview, which is like the older WinDbg but with some new features and a new GUI. This would also allow me (in theory) to get rid of VS in the future or only keep it for other projects. So far I struggle to set up breakpoints that actually work and doesn't just step over them. It also doesn't like templates, especially if there's multiple instances of them. (Also I couldn't find any way to break on exceptions so far.)
Using Windbg to debug D applications and unittests
solidstate1991 via Digitalmars-d-learn Sat, 25 Feb 2023 08:01:50 -0800
I had a lot of trouble trying to get Visual Studio to catch
handled exceptions, which would have been mandatory for debugging
unittests, but I either forgot how to do it, or something have
changed in either the newer versions of VS or the D compilers I
use (LDC, DMD).
- Using Windbg to debug D application... solidstate1991 via Digitalmars-d-learn
- Re: Using Windbg to debug D ap... evilrat via Digitalmars-d-learn
- Re: Using Windbg to debug ... solidstate1991 via Digitalmars-d-learn
- Re: Using Windbg to de... evilrat via Digitalmars-d-learn
- Re: Using Windbg t... solidstate1991 via Digitalmars-d-learn
- Re: Using Win... evilrat via Digitalmars-d-learn
- Re: Using... solidstate1991 via Digitalmars-d-learn
- Re: Using Windbg to debug D ap... Basile B. via Digitalmars-d-learn
- Re: Using Windbg to debug ... Chris Piker via Digitalmars-d-learn
- Re: Using Windbg to de... Basile B. via Digitalmars-d-learn