Linking PDB file to git repo RRS feed

  • General discussion

  • I have a program that is compiled with Visual C++ 2019. It lives in a Git repository and I have the Visual C++ Git plugin connected to the repository and can work with the repo via the "team explorer" window. I also build the app via a CI build system that uses msbuild to build the vcxproj files (it pulls the repository via the command line Git tool)

    Is there some way I can link the debug information to the Git repository so that the Visual C++ debugger can somehow automatically pull the files from the Git repository? Or some other kind of thing I can run that can serve up my source code in a form that the Visual C++ debugger can grab? (something that I can feed new source code to as part of the CI system would be ideal in that case).

    It would be nice to not have to manually figure out which Git revision matches the build and then manually pull the correct source file for that revision (and do it multiple times if I need multiple source files)

    Thursday, September 19, 2019 9:52 AM

All replies