TFS 2010 中源服务器和符号服务器之间有什么区别?

发布于 2024-11-19 13:49:26 字数 739 浏览 4 评论 0 原文

例如,我读过几篇文章...... http://blogs.msdn.com/b/adamroot/archive/2009/06/17/source-server-and-symbol-server-features-in-team-foundation-server-2010- beta-1.aspx

http://blogs.msdn.com/b/jimlamba/archive/2009/06/15/symbol-and-source-server-in-tfs-2010.aspx

据我所知已阅读这些都是有用的服务器应用程序,可以在处理需要分析的旧版本应用程序时设置更好的调试支持。

在第一个链接中,msdn 博客作者提到,虽然两者都很有用,但它们是独立的并且彼此不依赖。为什么我想要其中之一而不是另一个?他们执行两项截然不同的任务还是重叠?

如果这还不够清楚,很高兴其他人编辑 Q 或要求我编辑。

I have read a couple of posts for instance...
http://blogs.msdn.com/b/adamroot/archive/2009/06/17/source-server-and-symbol-server-features-in-team-foundation-server-2010-beta-1.aspx

http://blogs.msdn.com/b/jimlamb/archive/2009/06/15/symbol-and-source-server-in-tfs-2010.aspx

From what I have read these are both useful server applications to setup for better debugging support when dealing with older versions of applications that require analysis.

In the first link the msdn blogger mentions that while both are useful they are seperate and don't depend on each other. Why would I want one and not the other? Do they perform two distinctly different tasks or do they overlap?

happy for others to edit Q or ask me to edit if this isn't clear enough.

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

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

发布评论

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

评论(2

浪荡不羁 2024-11-26 13:49:26

大多数时候,你两者都想要。它们不重叠。简而言之,

  • 符号服务器为您提供函数名称和行号
  • 源服务器为您提供某个时间点的源代码

但是在源代码不可用时存在调试场景,例如 Windows DLL 和可执行文件。因此,将它们分开是有用的,即使它带有 这是自己的烦恼

在 Microsoft 的 Windows 调试工具中,有一个命令 symfix(或 symfix+)可以自动将 Microsoft 的符号服务器添加到您的配置中。

Most of the time, you want both. They do not overlap. In short

  • Symbol server gives you function names and line numbers
  • Source server gives you the source at a point in time

But there are debugging scenarioss when sources are not available, like for the Windows DLL and executables for example. So it is usefull to have them separate, even if it comes with it's own agravation.

In Microsoft's Debugging tools for windows, there is a command symfix (or symfix+) that adds Microsoft's symbol server to your configuration automaticaly.

亽野灬性zι浪 2024-11-26 13:49:26

每个服务器都有不同的功能和目标

源服务器:

您可以随时获取源代码的任何版本,分支和合并等。

符号服务器:

调试中使用的 *.pdb 文件,因此您可以使用这个 *.pdb 来调试已经运行的应用程序,这意味着调试旧版本,您不需要获得源代码控制要开始调试此版本,您只需运行所需版本的构建并从符号服务器获取 *.pdb,这样您就可以调试旧版本而无需源代码
通过符号服务器,您不再需要源代码来调试旧版本的版本,只需直接调试它们,但如果您没有符号服务器,则需要从源服务器获取正确的版本并构建应用程序调试配置并开始调试您的应用程序

我希望我能表达我的观点。

谢谢

Every server has different functionality and objectives

Source server:

You can get any version of your source code anytime, branch and merge and so on.

Symbol server:

*.pdb files which used in the debugging, so you can use this *.pdb so you can debug the application that already running, that's mean to debug an old release version you don't need to get the source control of this version to start debug it, you just run the build of the needed release and get the *.pdb from the symbol server so you can debug old build without needed to source code
By symbol server you don’t need source code anymore to debug old version of your release, you just debug them directly, but if you don’t have symbol sever, you will need to get the right version from the source server and build the application on debug configuration and start debug your application

I hope I could deliver my point.

Thanks

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