MS Source Server - source stream is apparently not there when viewing with srctool

Posted by Tim Peel on Stack Overflow See other posts from Stack Overflow or by Tim Peel
Published on 2009-03-29T14:07:06Z Indexed on 2010/03/30 22:43 UTC
Read the original article Hit count: 370

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about pdbstr

Related posts about srctool