www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Article - Stack traces on Windows Exceptions

With the help from ryuukk on backtraced - a standalone file which 
we can get access for both Microsoft Visual C++ Runtime 
Exceptions (and kill signals on linux) - 
https://github.com/ryuukk/backtraced/

I've wrote an article while integrating to my engine, since this 
is a fairly unknown technique, and also there is some problems 
when you want to integrate with the DLL, which I didn't knew by 
the time I used it, so, you need to use Win32 API for load the 
.pdb files, which is called `SymLoadModuleEx` -- Here is an 
article which I wrote about that: 
https://dev.to/mrcsnm/runtime-stacktraces-for-native-programming-languages-153e
Oct 30 2023