MS Source Server - source stream is apparently not there when viewing with srctool
- by Tim Peel
Hi,
I have been playing around with the MS Source Server stuff in the MS Debugging Tools install.
At present, I am running my code/pdbs through the Subversion indexing command, which is now running as expected. It creates the stream for a given pdb file and writes it to the pdb file.
However when I use that DLL and associated pdb in visual studio 2008, it says the source code cannot be retrieved.
If I check the pdb against srctool is says none of the source files contained are indexed, which is very strange as the process prior ran fine.
If I check the stream that was generated from the svnindex.cmd run for the pdb, srctool says all source files are indexed.
Why would there be a difference?
I have opened the pdb file in a text editor and I can see the original references to the source files on my machine (also under the srcsrv header name) and the new "injected" source server links to my subversion repository).
Should both references still exist in the pdb? I would have expected one to be removed?
Either way, visual studio 2008 will not pick up my source references so I am a bit lost as to what to try next. As far as I can tell, I have done everything I should have.
Anyone have similar experiences?
Many thanks.