什么是建立一个符号服务器给我? [英] What does setting up a symbol server give me?

查看:209
本文介绍了什么是建立一个符号服务器给我?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过这篇文章阅读/一>,它进入了如何建立一个共享的符号服务器为我的球队的细节。

I read through this article: Setting up a Symbol Server, which goes into details on how to set up a shared symbol server for my team.

我想了解一下是加入我自己的符号,进店的事情。

The thing I'm wondering about is adding my own symbols into the store.

我的问题是:它到底是什么,我从这个收获

My question is this: What exactly is it that I gain from this?

让我们假设我有以下的构建过程:

Let's assume that I have the following build process:

  1. 在我提交变更到我的Subversion版本库
  2. 系统的TeamCity CI工具拿起这些变化,并做了编译+单元测试
  3. 的二进制文件致力于以不同的版本库(由应用程序引用我做)

如果我想补充的第三点之上,添加内置文件到符号存储的能力,这是什么给我?

If I add to the third point above, the ability to add the built files into the symbol store, what does that give me?

如果我创建一个程序,并引用提交到存储库的二进制文件,我得到两个.dll文件的,.PDB的和.xml的(IntelliSense支持),所以我的堆栈跟踪似乎已经包含我需要的一切。

If I create a program, and reference the binaries committed to the repository, I get both .dll's, .pdb's and .xml's (intellisense support), so my stack traces already seem to contain everything I need.

这是一个替代品分发.PDB的?

Is this a replacement for distributing .pdb's?

或者只是因为当我需要打开一个.dmp文件到WINDBG并分析它的堆栈,在那里我presumably根本不具备可执行文件,只有.DMP文件中提供了别人? (也就是说,exectuables也许是从旧版本,而我只给了.DMP文件)

Or is it just for when I need to open a .DMP file into WINDBG and analyze its stacks, where I presumably don't have the executable files at all, only the .DMP file provided by someone else? (that is, the exectuables are perhaps from an older version, and I was only given the .DMP file)

推荐答案

为了不被明显:符号服务器给你的符号。所以,你可以调试你从你的客户回小型转储,当你的code崩溃和烧伤。这是绝对至关重要做到事后分析的真正的问题,你的客户体验。因为到那时你几个月老版的code得到一个机会崩溃的客户机器上,你已经进步了数个版本。

Not to be obvious: the symbol server gives you symbols. So you can debug the minidumps you get back from your customer when your code crashes and burns. It is absolutely crucial to do post-mortem analysis on real problems that your customer is experiencing. Because by the time your several month old version of your code gets an opportunity to crash on your customer's machine, you've already progressed a couple of versions.

真正的功夫是不是在建立一个符号服务器,它是确保它有正确的PDB文件给你调试好机会。控制生成过程是方程的一个重要组成部分。

The real effort is not in setting up a symbol server, it is making sure it has the right pdb files to give you a good debugging opportunity. Controlling the build process is a crucial part of that equation.

这篇关于什么是建立一个符号服务器给我?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆