I work on a language project that uses LLVM as a back-end. My primary target is Windows, and one of my many goals is to provide a first-class debugging experience for Windows developers. One thing that I ran into early is that debug support (i.e. from Visual Studio, WinDbg, and other Windows-centric debuggers) relies heavily on PDB files, either directly or (in the case of non-Microsoft tools) via DbgHelp.dll.
PDBs have been notoriously opaque for years, but recently, with some source code released by Microsoft, it has become practical (albeit difficult and tedious!) to generate PDBs for other languages besides C/C++. I’ve begun documenting my efforts here and circulated the results on LLVM’s dev mailing list. A few people suggested that the Rust community may find the information useful.
In the spirit of sharing and collaboration, I’m curious if anyone is actively working on supporting VS/WinDbg for Rust debugging on Windows, and if so, if there’s any way my research in this area might be beneficial to those efforts.