Basically what I want to do it this: a pdb file contains a location of source files (e.g. C:\\dev\\proj1\\helloworld.cs). Is it possible to modify that pdb file
You can use the source indexing feature of the Debugging Tools for Windows, which will save references to the appropriate revisions of the files in your source repository as an alternate stream in the PDB file.