MS源服务器 - 与srctool观看时源流,显然不存在源流、不存在、显然、服务器

由网友(你若离去后会无妻)分享简介:我一直在摆弄MS源服务器的东西在MS调试工具安装。I have been playing around with the MS Source Server stuff in the MS Debugging Tools install.在present,我跑我的code /通过颠覆索引命令,这是目前正在按预期运行P...

我一直在摆弄MS源服务器的东西在MS调试工具安装。

I have been playing around with the MS Source Server stuff in the MS Debugging Tools install.

在present,我跑我的code /通过颠覆索引命令,这是目前正在按预期运行PDBS。它创建流对于一个给定的pdb文件,并将其写入PDB文件

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.

然而,当我使用该DLL和Visual Studio 2008中有关PDB,它说的来源$ C ​​$ C不能被检索到。

However when I use that DLL and associated pdb in visual studio 2008, it says the source code cannot be retrieved.

如果我检查PDB对srctool是说,没有包含在索引源文件,这是很奇怪的过程之前跑了罚款。

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.

如果我检查从svnindex.cmd奔跑为PDB产生的数据流,srctool说,所有的源文件的索引。

If I check the stream that was generated from the svnindex.cmd run for the pdb, srctool says all source files are indexed.

为什么会有区别吗?

我已经打开了PDB文件中的文本编辑器,我可以看到(也下SRCSRV头名)和新的注入源服务器链接到我的Subversion版本库)原来引用的源文件我的机器上。

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).

都应该引用仍然在PDB存在吗?我本来期望一个被拆除?

无论哪种方式,Visual Studio 2008中不会拿起我的源引用让我有点失落,以什么尝试下一个。据我所知道的,我所做的一切,我应该有。

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?

非常感谢。

推荐答案

我已经解决了我的问题 - 这是写入PDB构建过程中的源文件路径略有不同,以一个写为Subversion源代码索引任务的一部分

I have resolved my problem - the source file path that was written to the PDB during build was slightly different to the one written as part of the Subversion source index task.

这必须与源搜索Visual Studio中无效的两个路径​​不匹配。

This must invalidate the source search within Visual Studio as the two paths don't match.

另外写我自己的简化来源分类指数流到我的PDB文件从一个自定义楠任务,这勾搭到跳马,我们的SCM系统。

Also writing my own simplified source index stream to my PDB files from a custom NAnt task, which hooks up to Vault, our SCM system.

阅读全文

相关推荐

最新文章