Project file take from the Effective Minidumps article.

To compile and run the project issue the following commands:

$ cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja
$ cmake --build build --target run

Then load the build/MaxiDump.dmp mini dump file into WinDbg via Ctrl + D. Then issue the .excr command.

With Visual C++ 2019 and LLVM MinGW 16.0.6 it should look like this:

windbg-minidump