符号服务器说明

发布于 2024-07-22 16:29:35 字数 150 浏览 3 评论 0原文

这个答案中,用户建议使用符号服务器。

谁能解释一下它们是如何工作的以及如何使用 TFS 2008 设置它(如果可能的话)?

In this answer the user suggests using Symbol Servers.

Can anyone explain how they work and how to set it up (if possible) with TFS 2008?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

恰似旧人归 2024-07-29 16:29:35

本质上,符号服务器是一个文件服务器,它将调试符号集中存储在服务器上,而不是存储在每个开发人员的系统上。 然后,您可以将 Windbg(或您选择的调试器)指向符号服务器来解析符号名称。 每个人都可以共享同一台服务器。 Microsoft 甚至为 Windows 符号提供了一个公开可用的服务器。 (需要 Windows 的调试版本)。

请参阅:http://msdn.microsoft.com/en-us/library/b8ttk8zy .aspx

用于 Microsoft 的公共符号服务器:http://support.microsoft.com/kb/311503

Essentially, the Symbol Server is a file server that stores your debug symbols centrally, on a server, rather than on each developer's system. Then, you can point Windbg (or your debugger of choice) to the Symbol Server to resolve symbol names. Everyone can share the same server. Microsoft even makes a publically available server available for Windows symbols. (requires the debug build of Windows).

see: http://msdn.microsoft.com/en-us/library/b8ttk8zy.aspx

for Microsoft's public symbols server: http://support.microsoft.com/kb/311503

请恋爱 2024-07-29 16:29:35

请查看为 TFS 构建设置源服务器。 您还可以通过转到“工具”>“选项”>“调试”>“符号”来指向 Visual Studio 中的符号服务器。

另请参阅高级 Windows 调试一书。 它讨论了符号服务器的设置。

Check out Setting up Source Server for TFS Builds. You can also point to a symbol server in Visual Studio by going to Tools>Options>Debugging>Symbols.

Also check out Advanced Windows Debugging book. It talks about settings up a symbol server.

独守阴晴ぅ圆缺 2024-07-29 16:29:35

如果您打算做一个符号服务器,请确保它也做源。 为了做到这一点,你首先需要做两件事。 安装 Perl 和 Windows 调试工具。 然后,您使用两个标志 -source=(带有本地存储库的路径)和 -symbols=(带有二进制文件的路径)调用 tfsindex.cmd。 其作用是遍历将上传到符号服务器的所有 PDB 文件。 搜索 pdb 中引用的任何源代码文件,并将引用替换为占位符,该占位符允许 Visual Studio 从 tfs 中提取相关文件的正确版本。

设置源代码部分后,现在可以将符号上传到您设置的文件共享中。 为此,您可以调用 sysmstore.exe 来处理符号服务器对它们的实际归档。

tfsindex.cmd 和 sysmstore.exe 都是 Windows 调试工具的一部分。

If you are going to do a symbol server, make sure it does the source as well. In order to do this You need two things first. Install Perl and the debugging tools for windows. Then you call tfsindex.cmd with two flags -source= (with the path to your local repository) and -symbols= (with the path to the binaries). What this does is go through all the PDB files that will be uploaded to the symbol server. Searches for any source code files refrenced in the pdb's and replace the refrences with a place holder that allows visual studio to pull down the correct version of the file in question from tfs.

After you have the source code part set, it is now time to upload the symbols up to a file share that you have set up. For this you call sysmstore.exe to take care of the actual filing of them with the symbol server.

Both tfsindex.cmd and sysmstore.exe are part of the debugging tools for windows.

给妤﹃绝世温柔 2024-07-29 16:29:35

有一些简单的说明可用于设置 Visual Studio 调试器以使用 Microsoft 服务器上的符号副本。 我自己还没有尝试过这个
http://referencesource.microsoft.com/serversetup.aspx

我不久前发现了此链接,需要时归档。 截至2009年8月23日,它似乎还不支持Win7上的.Net版本。

There are some straightforward instructions to set up the visual studio debugger to use a copy of the symbols on Microsoft's servers. I haven't tried this yet myself
http://referencesource.microsoft.com/serversetup.aspx

I found this link awhile ago, filing for when its needed. As of 8/23/2009 it looks like it does not yet support the version of .Net on Win7.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文